jQuery UI Widgets Forums Angular pass args to jqx-on function

Tagged: ,

This topic contains 1 reply, has 2 voices, and was last updated by  Peter Stoev 6 years, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • pass args to jqx-on function #95056

    JellyRaptor
    Participant

    <jqx-drop-down-list jqx-on-change="doSomething('str')"></jqx-drop-down-list>

    //controller
    function doSomething(event) {
        //where be my arg?
    }

    Is there any way to get a handle on the arg ‘str’? I have tried accepting multiple arguments in the target function and checking event.args

    • This topic was modified 6 years, 2 months ago by  JellyRaptor. Reason: take question out of comment
    pass args to jqx-on function #95062

    Peter Stoev
    Keymaster

    Hi JellyRaptor,

    No. It is an event handler and the argument of an event handler is only one and is called event.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.