Kendo Mobile widgets basics
All Kendo Mobile widgets inherit from the base class kendo.mobile.ui.Widget
, which is inherited from the base class of all Kendo widgets (both Web and Mobile), kendo.ui.Widget
. The complete inheritance chain of the mobile widget class is shown in the following figure:
kendo.Class
acts as the base class for most of the Kendo UI objects while the kendo.Observable
object contains methods for events. kendo.data.ObservableObject
which is the building block of Kendo MVVM, is inherited from kendo.Observable
.
Mobile widget base methods
From the inheritance chain, all Kendo Mobile widgets inherit a set of common methods. A thorough understanding of these methods is required while building highly performing, complex mobile apps.
Note
Kendo UI Mobile supports only WebKit-based browsers and so it's important to use Chrome or Safari browsers to run the demo code on your desktop.
bind
The bind()
method defined in the kendo.Observable
class, attaches a handler to an event....