Passing Parameters to JS methods

Comments

1 comment

  • Avatar
    sysberry GmbH

    Hi Casey,

    from rules the control will be always passed. If you have a function in code:

    function test(ctrl) {

    cosole.log(ctrl);

    }

    and use exectude method in rule without any parameters, then you will get the control in the variable. In some another cases you can use the keyword "this" for that.

    Regards

    Alexey

    0
    Comment actions Permalink

Please sign in to leave a comment.