mirror of
https://github.com/hanzoai/jube-fork.git
synced 2026-11-02 14:29:36 +00:00
13 lines
723 B
HTML
Executable File
13 lines
723 B
HTML
Executable File
<div data-role="view" id="button-events" data-title="Button Events" data-use-native-scrolling="true">
|
|
<a id="mobile-button1" data-click="logClick" data-role="button" style="display: block; margin: 2em; text-align: center;">Trigger Event 1</a>
|
|
<a id="mobile-button2" data-click="logClick" data-role="button" style="display: block; margin: 2em; text-align: center;">Trigger Event 2</a>
|
|
<a id="mobile-button3" data-click="logClick" data-role="button" style="display: block; margin: 2em; text-align: center;">Trigger Event 3</a>
|
|
<div class="console"></div>
|
|
</div>
|
|
|
|
<script>
|
|
function logClick(e) {
|
|
kendoConsole.log(this.element.prop("id") + " was clicked!", false, "#button-events");
|
|
}
|
|
</script>
|