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
    評論操作 永久連結

登入寫評論。