Comparing versions 4 and 5.

EformWrapperInfotron

For information on what an EForm is please read this

Sample Declaration

<div id=""
     impl=""
     properties=""
     script=""></div>
## Input Terminals ## Output Terminals ## Properties ## Demos that use it + 43.html +evdb.html+ evdb.html ## How does it work? ## Source

BLUEPRINT(
"~015C5A2D5E2549459797EE9FD3A383AC1F",
[
 ["value_in", "onValue", 10]
],
[
 "eform"
],
function (Class) 
{
    Class.prototype._onInit = function(props)
    {
      this._fmt = props["value_format"];
      this._key = props["key"];
      this._STR_REGEX = new RegExp("%s");
    };

    Class.prototype.onValue = function(msg)
    {
    var ef = {};

    if (this._fmt) {
        ef[this._key] = this._fmt.replace(this._STR_REGEX, msg.toString());
    } else {
        ef[this._key] = msg;
    }

    this.postMessage("eform", ef);
    };

}, "Eform Wrapper");

History Key

  • New content
  • Removed content

Recent Versions

Choose two versions to compare, or click the link to view it.

  1. 5. about 1 year by slim
  2. 4. about 1 year by slim
  3. 3. about 1 year by slim
  4. 2. about 1 year by slim
  5. 1. about 1 year by xexamedes