Edit:
I would delete this post and start a new one if the forum let me. The actual source of my problem is this piece of sample code for your site.
It seems to indicate that there is some magical way to know that the button was clicked and which button was. It does not seem to work in practice as running this example e.button is always null for me, so I cant figure out how to distinguish between a row click and a click on the button.
Mike
I would delete this post and start a new one if the forum let me. The actual source of my problem is this piece of sample code for your site.
<ul data-role="listview" id="foo" data-click="listViewClick">
<li><a data-role="button" data-name="bar">Bar button</a> | <a data-role="button" data-name="baz">Baz button</a></li>
</ul>
<script>
function listViewClick(e) {
console.log(e.button); // Kendo mobile Button instance
}
</script>
It seems to indicate that there is some magical way to know that the button was clicked and which button was. It does not seem to work in practice as running this example e.button is always null for me, so I cant figure out how to distinguish between a row click and a click on the button.
Mike