We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Allow jQuery on (see full documentation) method shortcut data binding.
<a data-bind="on: { click: myClickHandler }"></a>
is equivalent to
$(selector).on("click", myClickHandler);
<a data-bind="on: { click: myClickHandler, mouseover: myMouseOverHandler }"></a>
$(selector).on({ click: myClickHandler, mouseover: myMouseOverHandler, });
The on binding handler take an object as arguments. This object's keys represent event name while values are events handlers.
See full jquery on documentation.
There was an error while loading. Please reload this page.