kendo.mobile.ui.BackButton
Edit this docRepresents the Kendo UI Mobile BackButton widget. Inherits from kendo.mobile.ui.Widget.
No results. Try clearing the filter.
The mobile BackButton widget navigates to the previously visited mobile View when pressed. A view can be explicitly set using the href attribute.
Initialize Kendo mobile BackButton based on role data attribute
<a data-role="backbutton">Foo</a>
Initialize Kendo mobile BackButton using jQuery plugin syntax
var button = $("#button").kendoMobileBackButton();
Prepares the BackButton for safe removal from DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
Important: This method does not remove the BackButton element from DOM.
Example
var backButton = $("#backButton").data("kendoMobileBackButton");
// detach events
backButton.destroy();
Fires when the user taps the button.
Event Data
- e.target
jQuery The clicked DOM element
- e.button
jQuery The button DOM element