Passing Parameters to JS methods

评论

1 条评论

  • 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
    评论操作 固定链接

请先登录再写评论。