Comparing versions 2 and 3.

EformRouterInfotron

For information on what an EForm is please read this

Sample Declaration

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

BLUEPRINT(
"~01364935de87c611db85c86df924e57e42",
[
 ["eform_in", "onEform", 10]
],
[
 "out1",
 "out2",
 "out3",
 "out4"
],
function(Class)
{
    Class.prototype.onEform = function(msg)
    {
        if (this._match1) {
            this.postMessage("out1", msg[this._match1] || this._default_val);
        }

        if( this._match2) {
            this.postMessage("out2", msg[this._match2] || this._default_val);
        }

        if (this._match3) {
            this.postMessage("out3", msg[this._match3] || this._default_val);
        }

        if (this._match4) {
            this.postMessage("out4", msg[this._match4] || this._default_val);
        }

    };

    Class.prototype._onInit = function(props)
    {
      this._match1 = props["out1_match_key"];
      this._match2 = props["out2_match_key"];
      this._match3 = props["out3_match_key"];
      this._match4 = props["out4_match_key"];
      this._default_val = props["default_value"];
    }
}, "List Router");

History Key

  • New content
  • Removed content

Recent Versions

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

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