Is it possible to set observable in 'click' binding?
<div data-bind="click:toolbarBottomTabs_selectedIndex(0)"
>
where toolbarBottomTabs_selectedIndex is an observable.
Try this:
<div data-bind="click: toolbarBottomTabs_selectedIndex.bind($data, 0)">
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With