Edit this page

clickOn String (default "up")

Configures the DOM event used to trigger the button click event/navigate in the mobile application. Can be set to "down" as an alias for touchstart, mousedown, MSPointerDown, and PointerDown vendor specific events. Setting the clickOn to down usually makes sense for buttons in the header or in non-scrollable views for increased responsiveness.

By default, buttons trigger click/navigate when the user taps the button (a press + release action sequence occurs).

Example - button which reacts immediately when pressed

    <div data-role="view" data-title="Foo">
        <div data-role="header">
            <div data-role="navbar">
                span
                Button
            </div>
        </div>
    </div>


    <script>
        var app = new kendo.mobile.Application();
        function onClick() {
            console.log("click");
        }
    </script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy