We can add multiple events to single data-bind attribute of one element using comma. Example is given below: <div data-bind =" submit: navigateToNextStep, click: callanotherFunc "></div> in this example we have added 2 events to the data-bind attribute: First is: submit: navigateToNextStep Second is: click: callanotherFunc
Magento 1 and Magento 2 development solutions