var kendo = {
ui: {},
mobile: {ui: {}},
dataviz: {ui: {}},
data: {}
};
FX = function() { };
FX.prototype = {
kendoAnimate: function(duration,reverse,complete,show,hide) {
///
/// Applies the specified animation effect/s to all selected elements and triggers the callback on every element when it completes its animation.
/// Uses transitions and transformations where available and falls back to jQuery animate where not. kendoAnimate can be used to run one of the provided
/// animation effects or you can define one yourself, using the same format.
///
/// The effect duration (speed) in milliseconds.
/// Whether the effect should play backwards, useful when doing the same animation but with the opposite direction, like opening and closing.
/// Completion callback that should be called after animation completion. It gets fired for every animated element and is passed the said element as its only argument.
/// Whether the element should be shown before animating.
/// Whether the element should be hidden after the animation completes.
},
kendoStop: function(gotoEnd) {
///
/// Stops the animation effect running on the specified elements and optionally jumps to the end and clears the animation effect queue.
/// In browsers that don't support transitions falls back to jQuery stop().This functionality is useful to avoid chaining many effects, causing them to run longer than expected.
///
/// Whether to jump to the animation end position when stopping or just leave the element at its current position.
},
kendoAddClass: function(classes,options) {
///
/// Adds a CSS class to the element, while doing a transition to the new state. If the browser doesn't support transitions,
/// the method falls back to jQuery addClass();
///
/// A list of the classes that should be added to the element/s, separated by a space.
/// An object containing several additional options, like duration and exclusive.
},
kendoRemoveClass: function(classes,options) {
///
/// Removes a CSS class from the element, while doing a transition to the new state. If the browser doesn't support transitions,
/// the method falls back to jQuery removeClass();
///
/// A list of the classes that should be removed from the element/s, separated by a space.
/// An object containing several additional options, like duration and exclusive.
},
kendoToggleClass: function(classes,options,toggle) {
///
/// Toggle a CSS class on the element, based on a flag, while doing a transition to the new state. If the browser doesn't support transitions,
/// the method falls back to jQuery toggleClass();
///
/// A list of the classes that should be toggled on the element/s, separated by a space.
/// An object containing several additional options, like duration and exclusive.
/// A boolean flag to control the toggle - true to add or false to remove the CSS class. If omitted the method will assume the opposite state should be toggled.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoFX = function() {
///
/// Returns a reference to the FX widget, instantiated on the selector.
///
/// The FX instance (if present).
};
$.fn.kendoFX = function(options) {
///
/// Instantiates a FX widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
if (!kendo) {
kendo = {};
}
kendo.Class = function() { };
kendo.Class.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoClass = function() {
///
/// Returns a reference to the kendo.Class widget, instantiated on the selector.
///
/// The kendo.Class instance (if present).
};
$.fn.kendoClass = function(options) {
///
/// Instantiates a kendo.Class widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.Layout = function() { };
kendo.Layout.prototype = {
showIn: function(container,view) {
///
/// Renders the View element in the element specified by the selector
///
/// The selector of the container in which the view element will be appended.
/// The view instance that will be rendered.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoLayout = function() {
///
/// Returns a reference to the kendo.Layout widget, instantiated on the selector.
///
/// The kendo.Layout instance (if present).
};
$.fn.kendoLayout = function(options) {
///
/// Instantiates a kendo.Layout widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.Observable = function() { };
kendo.Observable.prototype = {
bind: function(eventName,handler) {
///
/// Attaches a handler to an event.
///
/// The name of the event.
/// A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data.
},
one: function(eventName,handler) {
///
/// Attaches a handler to an event. The handler is executed only once.
///
/// The name of the event.
/// A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data.
},
trigger: function(eventName,eventData) {
///
/// Executes all handlers attached to the given event.
///
/// The name of the event to trigger.
/// Optional event data which will be passed as an argument to the event handlers.
},
unbind: function(eventName,handler) {
///
/// Remove a previously attached event handler.
///
/// The name of the event. If not specified all handlers of all events will be removed.
/// The handler which should no loger be executed. If not specified all handlers listening to that event will be removed.
},
self: null
};
$.fn.getKendoObservable = function() {
///
/// Returns a reference to the kendo.Observable widget, instantiated on the selector.
///
/// The kendo.Observable instance (if present).
};
$.fn.kendoObservable = function(options) {
///
/// Instantiates a kendo.Observable widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.Router = function() { };
kendo.Router.prototype = {
start: function() {
///
/// Activates the router binding to the URL fragment part changes.
///
},
Example: function() {
///
///
///
},
route: function(route,callback) {
///
/// Specifies a callback for the given route. The route definition can contain bound parameters, optional segments, and route globbing.
/// The parsed parts of the URL are passed as parameters to the route callback.
///
/// The route definition.
/// The callback to be executed when the route is matched.
},
navigate: function(route,silent) {
///
/// Navigates to the given route.
///
/// The route to navigate to.
/// If set to true, the router callbacks will not be called.
},
destroy: function() {
///
/// Unbinds the router instance listeners from the URL fragment part changes.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoRouter = function() {
///
/// Returns a reference to the kendo.Router widget, instantiated on the selector.
///
/// The kendo.Router instance (if present).
};
$.fn.kendoRouter = function(options) {
///
/// Instantiates a kendo.Router widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.View = function() { };
kendo.View.prototype = {
destroy: function() {
///
/// Removes the View element from the DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
///
},
render: function(container) {
///
/// Renders the view contents. Accepts a jQuery selector (or jQuery object) to which the contents will be appended.
/// Alternatively, the render method can be called without parameters in order to retrieve the View element for manual insertion/further manipulation.
///
/// (Optional) the element in which the view element will be appended.
/// the view element.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoView = function() {
///
/// Returns a reference to the kendo.View widget, instantiated on the selector.
///
/// The kendo.View instance (if present).
};
$.fn.kendoView = function(options) {
///
/// Instantiates a kendo.View widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
tagName — String (default: "div")
///
The tag used for the root element of the view.
///
///
wrap — Boolean (default: true)
///
If set to false, the view will not wrap its contents in a root element. In that case, the view element will point to the root element in the template.
///
///
///
/// The widget configuration options
///
};
kendo.data.Binder = function() { };
kendo.data.Binder.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoBinder = function() {
///
/// Returns a reference to the kendo.data.Binder widget, instantiated on the selector.
///
/// The kendo.data.Binder instance (if present).
};
$.fn.kendoBinder = function(options) {
///
/// Instantiates a kendo.data.Binder widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.data.DataSource = function() { };
kendo.data.DataSource.prototype = {
add: function(model) {
///
/// Appends a data item to the data source.
///
/// Either a kendo.data.Model instance or JavaScript object containing the data item field values.
/// the data item which is inserted.
},
aggregate: function(value) {
///
/// Gets or sets the aggregate configuration.
///
/// The aggregate configuration. Accepts the same values as the aggregate option.
/// the current aggregate configuration.
},
aggregates: function() {
///
/// Returns the aggregate results.
///
/// the aggregate results. There is a key for every aggregated field.
},
at: function(index) {
///
/// Returns the data item at the specified index. The index is zero-based.
///
/// The zero-based index of the data item.
/// the data item at the specified index. Returns undefined if a data item is not found at the specified index.Returns a kendo.data.Model instance if the schema.model option is set.
},
cancelChanges: function(model) {
///
/// Cancels any pending changes in the data source. Deleted data items are restored, new data items are removed and updated data items are restored to their initial state.
///
/// The optional data item (model). If specified only the changes of this data item will be discarded. If omitted all changes will be discarded.
},
data: function(value) {
///
/// Gets or sets the data items of the data source.If the data source is bound to a remote service (via the transport option) the data method will return the service response.
/// Every item from the response is wrapped in a kendo.data.ObservableObject or kendo.data.Model (if the schema.model option is set).If the data source is bound to a JavaScript array (via the data option) the data method will return the items of that array.
/// Every item from the array is wrapped in a kendo.data.ObservableObject or kendo.data.Model (if the schema.model option is set).If the data source is grouped (via the group option or the group method) and the serverGrouping is set to true
/// the data method will return the group items.
///
/// The data items which will replace the current ones in the data source. If omitted the current data items will be returned.
/// the data items of the data source. Returns empty array if the data source hasn't been populated with data items via the read, fetch or query methods.
},
fetch: function(callback) {
///
/// Reads the data items from a remote service (if the transport option is set) or from a JavaScript array (if the data option is set).
///
/// The optional function which is executed when the remote request is finished. The function context (available via the this keyword) will be set to the data source instance.
},
filter: function(value) {
///
/// Gets or sets the filter configuration.
///
/// The filter configuration. Accepts the same values as the filter option.
/// the current filter configuration.
},
get: function(id) {
///
/// Gets the data item (model) with the specified id.
///
/// The id of the model to look for.
/// the model instance. Returns undefined if a model with the specified id is not found.
},
getByUid: function(uid) {
///
/// Gets the data item (model) with the specified uid.
///
/// The uid of the model to look for.
/// the model instance. Returns undefined if a model with the specified uid is not found.
},
group: function(value) {
///
/// Gets or sets the grouping configuration.
///
/// The grouping configuration. Accepts the same values as the group option.
/// the current grouping configuration.
},
hasChanges: function() {
///
/// Cheks if the data itams have changed.
///
/// returns true if the data items have changed. Otherwise, false.
},
indexOf: function(dataItem) {
///
/// Gets the index of the specified data item.
///
/// The target data item.
/// the index of the specified data item. Returns -1 if the data item is not found.
},
insert: function(index,model) {
///
/// Inserts a data item in the data source at the specified index.
///
/// The zero-based index at which the data item will be inserted.
/// Either a kendo.data.Model instance or JavaScript object containing the field values.
/// the data item which is inserted.
},
page: function(page) {
///
/// Gets or sets the current page.
///
/// The new page.
/// the current page.
},
pageSize: function(size) {
///
/// Gets or sets the current page size.
///
/// The new page size.
/// the current page size.
},
query: function(options) {
///
/// Executes the specified query over the data items. Makes a HTTP request if bound to a remote service.
///
/// The query options which should be applied.
},
read: function(data) {
///
/// Reads data items from a remote service (if the transport option is set) or from a JavaScript array (if the data option is set).
///
/// Optional data to pass to the remote service.
},
remove: function(model) {
///
/// Removes the specified data item from the data source.
///
/// The data item which should be removed.
},
sort: function(value) {
///
/// Gets or sets the sort order which will be applied over the data items.
///
/// The sort configuration. Accepts the same values as the sort option.
/// the current sort configuration.
},
sync: function() {
///
/// Saves any data item changes.The sync method will request the remote service if:
///
},
total: function() {
///
/// Gets the total number of data items. Uses schema.total if the transport.read option is set.
///
/// the total number of data items. Returns the length of the array returned by the data method if schema.total or transport.read are not set.Returns 0 if the data source hasn't been populated with data items via the read, fetch or query methods.
},
totalPages: function() {
///
/// Gets the number of available pages.
///
/// the available pages.
},
view: function() {
///
/// Returns the data items which correspond to the current page, filter, sort and group configuration.To ensure that data is available this method should be used within the change event handler or the fetch method.
///
/// the data items. Returns groups if the data items are grouped (via the group option or the group method).
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoDataSource = function() {
///
/// Returns a reference to the kendo.data.DataSource widget, instantiated on the selector.
///
/// The kendo.data.DataSource instance (if present).
};
$.fn.kendoDataSource = function(options) {
///
/// Instantiates a kendo.data.DataSource widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
aggregate — Array
///
The aggregate(s) which are calculated when the data source populates with data. The supported aggregates are "average", "count", "max", "min" and "sum".
///
///
autoSync — Boolean (default: false)
///
If set to true the data source would automatically save any changed data items by calling the sync method. By default changes are not automatically saved.
///
///
batch — Boolean (default: false)
///
If set to true the data source will batch CRUD operation requests. For example updating two data items would cause one HTTP request instead of two. By default the data source
///
makes a HTTP request for every CRUD operation.
///
///
data — Array|String
///
The array of data items which the data source contains. The data source will wrap those items as kendo.data.ObservableObject or kendo.data.Model (if schema.model is set).Can be set to a string value if the schema.type option is set to "xml".
///
///
filter — Array|Object
///
The filter(s) which is (are) applied over the data items. By default no filter is applied.
///
///
group — Array|Object
///
The grouping configuration of the data source. If set the data items will be grouped when the data source is populated. By default grouping is not applied.
///
///
page — Number
///
The page of data which the data source will return when the view method is invoked or request from the remote service.
///
///
pageSize — Number
///
The number of data items per page.
///
///
schema — Object
///
The configuration used to parse the remote sevice response.
///
///
serverAggregates — Boolean (default: false)
///
If set to true the data source will leave the aggregate calculation to the remote service. By default the data source calculates aggregates client-side.
///
///
serverFiltering — Boolean (default: false)
///
If set to true the data source will leave the filtering implementation to the remote service. By default the data source performs filtering client-side.By default the filter is sent to the server following jQuery's conventions.For example the filter { logic: "and", filters: [ { field: "name", operator: "startswith", value: "Jane" } ] } is sent as:Use the parameterMap option to send the filter option in a different format.
///
///
serverGrouping — Boolean (default: false)
///
If set to true the data source will leave the grouping implementation to the remote service. By default the data source performs grouping client-side.By default the group is sent to the server following jQuery's conventions.For example the group { field: "category", dir: "desc" } is sent as:Use the parameterMap option to send the group option in a different format.
///
///
serverPaging — Boolean (default: false)
///
If set to true the data source will leave the data item paging implementation to the remote service. By default the data source performs paging client-side.The following options are sent to the server when server paging is enabled:Use the parameterMap option to send the paging options in a different format.
///
///
serverSorting — Boolean (default: false)
///
If set to true the data source will leave the data item sorting implementation to the remote service. By default the data source performs sorting client-side.By default the sort is sent to the server following jQuery's conventions.For example the sort { field: "age", dir: "desc" } is sent as:Use the parameterMap option to send the paging options in a different format.
///
///
sort — Array|Object
///
The sort order which will be applied over the data items. By default the data items are not sorted.
///
///
transport — Object
///
The configuration used to load and save the data items. A data source is remote or local based on the way of it retrieves data items.Remote data sources load and save data items from and to a remote end-point (a.k.a. remote service or server). The transport option describes the remote service configuration - URL, HTTP verb, HTTP headers etc.
///
The transport option can also be used to implement custom data loading and saving.Local data sources are bound to a JavaScript array via the data option.
///
///
type — String
///
If set the data source will use a predefined transport and/or schema. The only supported value is "odata" which supports the OData v.2 protocol.
///
///
///
/// The widget configuration options
///
};
kendo.data.HierarchicalDataSource = function() { };
kendo.data.HierarchicalDataSource.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoHierarchicalDataSource = function() {
///
/// Returns a reference to the kendo.data.HierarchicalDataSource widget, instantiated on the selector.
///
/// The kendo.data.HierarchicalDataSource instance (if present).
};
$.fn.kendoHierarchicalDataSource = function(options) {
///
/// Instantiates a kendo.data.HierarchicalDataSource widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
schema — Object
///
The schema configuration of the HierarchicalDataSource.
///
///
///
/// The widget configuration options
///
};
kendo.data.Model = function() { };
kendo.data.Model.prototype = {
bind: function() {
///
/// Attaches a handler to an event. More info can be found in the bind section of the Observable API reference.
///
},
editable: function(field) {
///
/// Determines if the specified field is editable or not.
///
/// The field to check.
},
get: function() {
///
/// Gets the value of the specified field. Inherited from ObservableObject. More info can be found in the get section of the
/// ObservableObject API reference.
///
},
isNew: function() {
///
/// Checks if the Model is new or not. The id field is used to determine if a model instance is new or existing one.
/// If the value of the field specified is equal to the default value (specifed through the fields configuration) the model is considered as new.
///
},
set: function() {
///
/// Sets the value of the specified field. Inherited from ObservableObject. More info can be found in the set section of the
/// ObservableObject API reference.
///
},
toJSON: function() {
///
/// Creates a plain JavaScript object which contains all fields of the Model. Inherited from ObservableObject. More info can be found in the toJSON section of the
/// ObservableObject API reference.
///
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoModel = function() {
///
/// Returns a reference to the kendo.data.Model widget, instantiated on the selector.
///
/// The kendo.data.Model instance (if present).
};
$.fn.kendoModel = function(options) {
///
/// Instantiates a kendo.data.Model widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.data.Node = function() { };
kendo.data.Node.prototype = {
append: function(model) {
///
/// Appends a new item to the children datasource, and initializes the datasource, if necessary.
///
/// The data for the new item
},
level: function() {
///
/// Gets the current nesting level of the Node within the HierarchicalDataSource.
///
},
load: function() {
///
/// Loads the child nodes in the child datasource, supplying the id of the Node to the request.
///
},
loaded: function() {
///
/// Gets or sets the loaded flag of the Node. Setting the loaded flag to false allows reloading of child items.
///
},
parentNode: function() {
///
/// Gets the parent node of the Node, if any.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoNode = function() {
///
/// Returns a reference to the kendo.data.Node widget, instantiated on the selector.
///
/// The kendo.data.Node instance (if present).
};
$.fn.kendoNode = function(options) {
///
/// Instantiates a kendo.data.Node widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.data.ObservableArray = function() { };
kendo.data.ObservableArray.prototype = {
bind: function(eventName,handler) {
///
/// Attaches an event handler for the specified event.
///
/// The name of the event.
/// The function which will be invoked when the event is raised.
},
join: function(separator) {
///
/// Joins all items of an ObservableArray into a string. Equivalent of
/// Array.prototype.join.
///
/// Specifies the string to separate each item of the array. If omitted the array items are separated with a comma (,)
},
parent: function() {
///
/// Returns the parent ObservableObject. If the current ObservableArray is not nested
/// returns undefined.
///
},
pop: function() {
///
/// Removes the last item from an array and returns that item. Equivalent of
/// Array.prototype.pop.
///
},
push: function() {
///
/// Appends the given items to the array and returns the new length of the array. Equivalent of
/// Array.prototype.push.
/// The new items are wrapped as ObservableObject if they are complex objects.
///
},
slice: function(begin,end) {
///
/// Returns a one-level deep copy of a portion of an array. Equivalent of
/// Array.prototype.slice.
/// The result of the slice method is not an instance of ObvservableArray. It is a regular JavaScript Array object.
/// > Important: The slice method does not modify the original ObservableArray.
///
/// Zero-based index at which to begin extraction.
/// Zero-based index at which to end extraction. If end is omitted, slice extracts to the end of the sequence.
},
splice: function(index,howMany) {
///
/// Changes an ObservableArray, by adding new items while removing old items. Equivalent of
/// Array.prototype.splice
///
/// Index at which to start changing the array. If negative, will begin that many elements from the end.
/// An integer indicating the number of items to remove. If howMany is 0, no items are removed. In this case, you should specify at least one new item.
/// An Array containing the removed items. The result of the splice method is not an instance of ObvservableArray.
},
shift: function() {
///
/// Removes the first item from an ObvservableArray and returns that item. Equivalent of
/// Array.prototype.shift.
///
},
toJSON: function() {
///
/// Returns a JavaScript Array which represents the contents of the ObservableArray.
///
},
unshift: function() {
///
/// Adds one or more items to the beginning of an ObservableArray and returns the new length.
/// Equivalent of Array.prototype.unshift.
///
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoObservableArray = function() {
///
/// Returns a reference to the kendo.data.ObservableArray widget, instantiated on the selector.
///
/// The kendo.data.ObservableArray instance (if present).
};
$.fn.kendoObservableArray = function(options) {
///
/// Instantiates a kendo.data.ObservableArray widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.data.ObservableObject = function() { };
kendo.data.ObservableObject.prototype = {
bind: function() {
///
/// Attaches a handler to an event. More info can be found in the bind section of the
/// kendo.Observable API reference.
///
},
get: function(name) {
///
/// Gets the value of the specified field.
///
/// The name of the field whose value is going to be returned.
/// The value of the specified field.
},
parent: function() {
///
/// Returns the parent ObservableObject. If the current ObservableObject is not
/// nested returns undefined;
///
},
set: function(name,value) {
///
/// Sets the value of the specified field.
///
/// The name of the field whose value is going to be returned.
/// The new value of the field.
},
toJSON: function() {
///
/// Creates a plain JavaScript object which contains all fields of the ObservableObject.
///
/// An Object which contains only the fields of the ObservableObject.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoObservableObject = function() {
///
/// Returns a reference to the kendo.data.ObservableObject widget, instantiated on the selector.
///
/// The kendo.data.ObservableObject instance (if present).
};
$.fn.kendoObservableObject = function(options) {
///
/// Instantiates a kendo.data.ObservableObject widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.mobile.Application = function() { };
kendo.mobile.Application.prototype = {
hideLoading: function() {
///
/// Hide the loading animation.
///
},
navigate: function(url,transition) {
///
/// Navigate to local or to remote view.
///
/// The id or url of the view.
/// The transition to apply when navigating. See View Transitions section for more information.
},
scroller: function() {
///
/// Get a reference to the current view's scroller widget instance.
///
/// the scroller widget instance.
},
showLoading: function() {
///
/// Show the loading animation.
///
},
view: function() {
///
/// Get a reference to the current view.
///
/// the view instance.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoApplication = function() {
///
/// Returns a reference to the kendo.mobile.Application widget, instantiated on the selector.
///
/// The kendo.mobile.Application instance (if present).
};
$.fn.kendoApplication = function(options) {
///
/// Instantiates a kendo.mobile.Application widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
hideAddressBar — Boolean (default: true)
///
Whether to hide the browser address bar. Supported only in iPhone and iPod. Doesn't affect standalone mode as there the address bar is always hidden.
///
///
updateDocumentTitle — Boolean (default: true)
///
Whether to update the document title.
///
///
initial — String
///
The id of the initial mobile View to display.
///
///
layout — String
///
The id of the default Application Layout.
///
///
loading — String (default: ")
///
The text displayed in the loading popup. Setting this value to false will disable the loading popup.Note: The text should be wrapped inside tag.
///
///
platform — String
///
Which platform look to force on the application. Can be one of "ios", "android", "blackberry".
///
///
serverNavigation — Boolean
///
If set to true, the application will not use ajax to load remote views.
///
///
transition — String
///
The default View transition.
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.ActionSheet = function() { };
kendo.mobile.ui.ActionSheet.prototype = {
close: function() {
///
/// Close the ActionSheet.
///
},
destroy: function() {
///
/// Prepares the ActionSheet 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.
///
},
open: function(target,context) {
///
/// Open the ActionSheet.
///
/// (optional) The target element of the ActionSheet, available in the callback methods.Notice The target element is mandatory on tablets, as the ActionSheet widget positions itself relative to opening element when a tablet is detected.
/// (optional) The context of the ActionSheet, available in the callback methods.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoActionSheet = function() {
///
/// Returns a reference to the kendo.mobile.ui.ActionSheet widget, instantiated on the selector.
///
/// The kendo.mobile.ui.ActionSheet instance (if present).
};
$.fn.kendoActionSheet = function(options) {
///
/// Instantiates a kendo.mobile.ui.ActionSheet widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
cancel — String (default: "Cancel")
///
The text of the cancel button.
///
///
popup — Object
///
The popup configuration options (tablet only).
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.BackButton = function() { };
kendo.mobile.ui.BackButton.prototype = {
destroy: function() {
///
/// 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.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoBackButton = function() {
///
/// Returns a reference to the kendo.mobile.ui.BackButton widget, instantiated on the selector.
///
/// The kendo.mobile.ui.BackButton instance (if present).
};
$.fn.kendoBackButton = function(options) {
///
/// Instantiates a kendo.mobile.ui.BackButton widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.Button = function() { };
kendo.mobile.ui.Button.prototype = {
badge: function(value) {
///
/// Introduced in Q1 2013 SP Sets a badge on the Button with the specified value. If invoked without parameters, returns the current badge value. Set the value to false to remove the badge.
///
/// The target value to be set or false to be removed.
/// Returns the badge value if invoked without parameters, otherwise returns the Button object.
},
destroy: function() {
///
/// Prepares the Button 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.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoButton = function() {
///
/// Returns a reference to the kendo.mobile.ui.Button widget, instantiated on the selector.
///
/// The kendo.mobile.ui.Button instance (if present).
};
$.fn.kendoButton = function(options) {
///
/// Instantiates a kendo.mobile.ui.Button widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
icon — String
///
The icon of the button. It can be either one of the built-in icons, or a custom one.
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.ButtonGroup = function() { };
kendo.mobile.ui.ButtonGroup.prototype = {
badge: function(button,value) {
///
/// Introduced in Q1 2013 SP Sets a badge on one of the ButtonGroup buttons with the specified value. If invoked without parameters, returns the button's current badge value. Set the value to false to remove the badge.
///
/// The target button specified either as a jQuery selector/object or as an button index.
/// The target value to be set or false to be removed.
/// Returns the badge value if invoked without parameters, otherwise returns the ButtonGroup object.
},
current: function() {
///
/// Get the currently selected Button.
///
/// the jQuery object representing the currently selected button.
},
destroy: function() {
///
/// Prepares the ButtonGroup 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.
///
},
select: function(li) {
///
/// Select a Button.
///
/// LI element or index of the Button.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoButtonGroup = function() {
///
/// Returns a reference to the kendo.mobile.ui.ButtonGroup widget, instantiated on the selector.
///
/// The kendo.mobile.ui.ButtonGroup instance (if present).
};
$.fn.kendoButtonGroup = function(options) {
///
/// Instantiates a kendo.mobile.ui.ButtonGroup widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
index — Number
///
Defines the initially selected Button.
///
///
selectOn — String (default: default "down")
///
Sets the DOM event used to select the button. Accepts "up" as an alias for touchend, mouseup and MSPointerUp vendor specific events.By default, buttons are selected immediately after the user presses the button (on touchstart or mousedown or MSPointerDown, depending on the mobile device).
///
However, if the widget is placed in a scrollable view, the user may accidentally press the button when scrolling. In such cases, it is recommended to set this option to "up".
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.DetailButton = function() { };
kendo.mobile.ui.DetailButton.prototype = {
destroy: function() {
///
/// Prepares the DetailButton 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.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoDetailButton = function() {
///
/// Returns a reference to the kendo.mobile.ui.DetailButton widget, instantiated on the selector.
///
/// The kendo.mobile.ui.DetailButton instance (if present).
};
$.fn.kendoDetailButton = function(options) {
///
/// Instantiates a kendo.mobile.ui.DetailButton widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.Layout = function() { };
kendo.mobile.ui.Layout.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoLayout = function() {
///
/// Returns a reference to the kendo.mobile.ui.Layout widget, instantiated on the selector.
///
/// The kendo.mobile.ui.Layout instance (if present).
};
$.fn.kendoLayout = function(options) {
///
/// Instantiates a kendo.mobile.ui.Layout widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
id — String (default: null)
///
The id of the layout. Required.
///
///
platform — String
///
The specific platform this layout targets. By default, layouts are displayed
///
on all platforms.
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.ListView = function() { };
kendo.mobile.ui.ListView.prototype = {
destroy: function() {
///
/// Prepares the ListView 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.
///
},
items: function() {
///
/// Get the listview DOM element items
///
/// The listview DOM element items
},
refresh: function() {
///
/// repaints the listview (works only in databound mode).
///
},
setDataSource: function(dataSource) {
///
/// Sets the dataSource of an existing ListView and rebinds it.
///
///
},
stopEndlessScrolling: function() {
///
/// Stops the 'endless scroll' of the ListView.
///
},
stopLoadMore: function() {
///
/// Stops the 'load more' functionality of the ListView.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoListView = function() {
///
/// Returns a reference to the kendo.mobile.ui.ListView widget, instantiated on the selector.
///
/// The kendo.mobile.ui.ListView instance (if present).
};
$.fn.kendoListView = function(options) {
///
/// Instantiates a kendo.mobile.ui.ListView widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
appendOnRefresh — Boolean (default: false)
///
Used in combination with pullToRefresh. If set to true, newly loaded data will be appended on top when refershing.
///
///
autoBind — Boolean (default: true)
///
Indicates whether the listview will call read on the DataSource initially.
///
///
dataSource — Object
///
Instance of DataSource or the data that the mobile ListView will be bound to.
///
///
endlessScroll — Boolean (default: false)
///
If set to true, the listview gets the next page of data when the user scrolls near the bottom of the view.
///
///
endlessScrollParameters — Function
///
A callback function used when the 'endlessScroll' option is enabled. The result of the function will be send as additional parameters to the DataSource's next method.
///
///
fixedHeaders — Boolean (default: false)
///
If set to true, the group headers will persist their position when the user scrolls through the listview. Applicable only when the type is set to group, or when binding to grouped datasource.
///
///
headerTemplate — String|Function (default: "#:value#")
///
The header item template (applicable when the type is set to group).
///
///
loadMore — Boolean (default: false)
///
If set to true, a button is rendered at the bottom of the listview, which fetch the next page of data when tapped.
///
///
loadMoreText — String (default: "Press to load more")
///
The text of the rendered load-more button (applies only if loadMore is set to true).
///
///
loadMoreParameters — Function
///
Check the 'endlessScrollParameters' option.
///
///
pullTemplate — String|Function (default: "Pull to refresh")
///
The message template displayed when the user pulls the listView. Applicable only when pullToRefresh is set to true.
///
///
pullToRefresh — Boolean (default: false)
///
If set to true, the listview will reload its data when the user pulls the view over the top limit.
///
///
pullParameters — Function
///
A callback function used when the 'pullToRefresh' option is enabled. The result of the function will be send as additional parameters to the DataSource's next method.
///
///
refreshTemplate — String|Function (default: "Refreshing")
///
The message template displayed during the refresh. Applicable only when pullToRefresh is set to true.
///
///
releaseTemplate — String|Function (default: "Release to refresh")
///
The message template indicating that pullToRefresh will occur. Applicable only when pullToRefresh is set to true.
///
///
scrollTreshold — String (default: 30)
///
The distance to the bottom in pixels, after which the listview will start fetching the next page. Applicable only when endlessScroll is set to true.
///
///
style — String
///
The style of the control. Can be either empty string(""), or inset.
///
///
template — String|Function (default: "#:data#")
///
The item template.
///
///
type — String
///
The type of the control. Can be either flat (default) or group. Determined automatically in databound mode.
///
///
filterable — Boolean (default: false)
///
Indicates whether the filter input must be visible or not.
///
///
filterable — Object
///
Indicates whether the filter input must be visible or not.
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.Loader = function() { };
kendo.mobile.ui.Loader.prototype = {
hide: function() {
///
/// Hide the loading animation.
///
},
show: function() {
///
/// Show the loading animation.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoLoader = function() {
///
/// Returns a reference to the kendo.mobile.ui.Loader widget, instantiated on the selector.
///
/// The kendo.mobile.ui.Loader instance (if present).
};
$.fn.kendoLoader = function(options) {
///
/// Instantiates a kendo.mobile.ui.Loader widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.ModalView = function() { };
kendo.mobile.ui.ModalView.prototype = {
close: function() {
///
/// Close the ModalView
///
},
destroy: function() {
///
/// Prepares the ModalView 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.
///
},
open: function(target) {
///
/// Open the ModalView
///
/// (optional) The target of the ModalView
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoModalView = function() {
///
/// Returns a reference to the kendo.mobile.ui.ModalView widget, instantiated on the selector.
///
/// The kendo.mobile.ui.ModalView instance (if present).
};
$.fn.kendoModalView = function(options) {
///
/// Instantiates a kendo.mobile.ui.ModalView widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
height — Number
///
The height of the ModalView container in pixels. If not set, the element style is used.
///
///
modal — Boolean (default: true)
///
When set to false, the ModalView will close when the user taps outside of its element.
///
///
width — Number
///
The width of the ModalView container in pixels. If not set, the element style is used.
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.NavBar = function() { };
kendo.mobile.ui.NavBar.prototype = {
destroy: function() {
///
/// Prepares the NavBar 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.
///
},
title: function(value) {
///
/// Update the title element text. The title element is specified by setting the role data attribute to view-title.
///
/// The text of title
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoNavBar = function() {
///
/// Returns a reference to the kendo.mobile.ui.NavBar widget, instantiated on the selector.
///
/// The kendo.mobile.ui.NavBar instance (if present).
};
$.fn.kendoNavBar = function(options) {
///
/// Instantiates a kendo.mobile.ui.NavBar widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.Pane = function() { };
kendo.mobile.ui.Pane.prototype = {
destroy: function() {
///
/// Prepares the Pane 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.
///
},
hideLoading: function() {
///
/// Hide the loading animation.
///
},
navigate: function(url,transition) {
///
/// Navigate the local or remote view.
///
/// The id or URL of the view.
/// The transition to apply when navigating. See View Transitions section for more information.
},
showLoading: function() {
///
/// Show the loading animation.
///
},
view: function() {
///
/// Get a reference to the current view.
///
/// the view instance.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoPane = function() {
///
/// Returns a reference to the kendo.mobile.ui.Pane widget, instantiated on the selector.
///
/// The kendo.mobile.ui.Pane instance (if present).
};
$.fn.kendoPane = function(options) {
///
/// Instantiates a kendo.mobile.ui.Pane widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
initial — String
///
The id of the initial mobile View to display.
///
///
layout — String
///
The id of the default Pane Layout.
///
///
loading — String (default: "Loading...")
///
The text displayed in the loading popup. Setting this value to false will disable the loading popup.
///
///
transition — String
///
The default View transition.
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.PopOver = function() { };
kendo.mobile.ui.PopOver.prototype = {
close: function() {
///
/// Close the popover.
///
},
destroy: function() {
///
/// Prepares the PopOver 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.
///
},
open: function(target) {
///
/// Open the PopOver.
///
/// The target of the Popover, to which the visual arrow will point to. This parameter is required for a tablet OS.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoPopOver = function() {
///
/// Returns a reference to the kendo.mobile.ui.PopOver widget, instantiated on the selector.
///
/// The kendo.mobile.ui.PopOver instance (if present).
};
$.fn.kendoPopOver = function(options) {
///
/// Instantiates a kendo.mobile.ui.PopOver widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
pane — Object
///
The pane configuration options.
///
///
popup — Object
///
The popup configuration options.
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.ScrollView = function() { };
kendo.mobile.ui.ScrollView.prototype = {
content: function(content) {
///
/// Update the scrollview HTML content
///
/// the new scrollView content.
},
destroy: function() {
///
/// Prepares the ScrollView 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.
///
},
refresh: function() {
///
/// Redraw the mobile ScrollView pager. Called automatically on device orientation change event.
///
},
scrollTo: function(page,instant) {
///
/// Scroll to the given page. Pages are zero-based indexed.
///
/// The page to scroll to.
/// If set to true, the scrollview will jump instantly to the given page without any animation effects.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoScrollView = function() {
///
/// Returns a reference to the kendo.mobile.ui.ScrollView widget, instantiated on the selector.
///
/// The kendo.mobile.ui.ScrollView instance (if present).
};
$.fn.kendoScrollView = function(options) {
///
/// Instantiates a kendo.mobile.ui.ScrollView widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
bounceVelocityThreshold — Number (default: 1.6)
///
The velocity threshold after which a swipe will result in a bounce effect.
///
///
duration — Number (default: 300)
///
The milliseconds that take the ScrollView to snap to the current page after released.
///
///
page — Number (default: 0)
///
The initial page to display.
///
///
pageSize — Number (default: 1)
///
Multiplier applied to the snap amount of the ScrollView. By default, the widget scrolls to the next screen when swipe. If the pageSize property is set to 0.5, the ScrollView will scroll by half of the widget width.
///
///
velocityThreshold — Number (default: 0.8)
///
The velocity threshold after which a swipe will navigate to the next page (as opposed to snapping back to the current page).
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.Scroller = function() { };
kendo.mobile.ui.Scroller.prototype = {
destroy: function() {
///
/// Prepares the Scroller 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.
///
},
pullHandled: function() {
///
/// Indicate that the pull event is handled (i.e. data from the server has been retrieved).
///
},
reset: function() {
///
/// Scrolls the container to the top.
///
},
scrollHeight: function() {
///
/// Returns the height in pixels of the scroller content.
///
},
scrollTo: function(x,y) {
///
/// Scrolls the container to the specified location. The arguments should be negative numbers.
///
/// The horizontal offset in pixels to scroll to.
/// The vertical offset in pixels to scroll to.
},
scrollWidth: function() {
///
/// Returns the width in pixels of the scroller content.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoScroller = function() {
///
/// Returns a reference to the kendo.mobile.ui.Scroller widget, instantiated on the selector.
///
/// The kendo.mobile.ui.Scroller instance (if present).
};
$.fn.kendoScroller = function(options) {
///
/// Instantiates a kendo.mobile.ui.Scroller widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
zoom — Boolean (default: false)
///
If set to true, the user can zoom in/out the contents of the widget using the pinch/zoom gesture.
///
///
elastic — Boolean (default: true)
///
Weather or not to allow out of bounds dragging and easing.
///
///
pullOffset — Number (default: 140)
///
The threshold below which a releasing the scroller will trigger the pull event.
///
Has effect only when the pullToRefresh option is set to true.
///
///
pullTemplate — String (default: "Pull to refresh")
///
The message template displayed when the user pulls the scroller.
///
Has effect only when the pullToRefresh option is set to true.
///
///
pullToRefresh — Boolean (default: false)
///
If set to true, the scroller will display a hint when the user pulls the container beyond its top limit.
///
If a pull beyond the specified pullOffset occurs, a pull event will be triggered.
///
///
refreshTemplate — String (default: "Refreshing")
///
The message template displayed during the refresh.
///
Has effect only when the pullToRefresh option is set to true.
///
///
releaseTemplate — String (default: "Release to refresh")
///
The message template displayed when the user pulls the scroller below the
///
pullOffset, indicating that pullToRefresh will occur.
///
Has effect only when the pullToRefresh option is set to true.
///
///
useNative — Boolean (default: false)
///
(available since Q1 2013)
///
If set to true, the scroller will use the native scrolling available in the current platform. This should help with form issues on some platforms (namely Android and WP8).
///
Native scrolling is only enabled on platforms that support it: iOS > 4, Android > 2, WP8. BlackBerry devices do support it, but the native scroller is flaky.
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.SplitView = function() { };
kendo.mobile.ui.SplitView.prototype = {
destroy: function() {
///
/// Prepares the SplitView 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.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoSplitView = function() {
///
/// Returns a reference to the kendo.mobile.ui.SplitView widget, instantiated on the selector.
///
/// The kendo.mobile.ui.SplitView instance (if present).
};
$.fn.kendoSplitView = function(options) {
///
/// Instantiates a kendo.mobile.ui.SplitView widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
style — String (default: "horizontal")
///
Defines the SplitView style - horizontal or vertical.
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.Swipe = function() { };
kendo.mobile.ui.Swipe.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoSwipe = function() {
///
/// Returns a reference to the kendo.mobile.ui.Swipe widget, instantiated on the selector.
///
/// The kendo.mobile.ui.Swipe instance (if present).
};
$.fn.kendoSwipe = function(options) {
///
/// Instantiates a kendo.mobile.ui.Swipe widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.Switch = function() { };
kendo.mobile.ui.Switch.prototype = {
check: function(check) {
///
/// Get/Set the checked state of the widget.
///
/// Whether to turn the widget on or off.
/// The checked state of the widget.
},
destroy: function() {
///
/// Prepares the Switch 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.
///
},
toggle: function() {
///
/// Toggle the checked state of the widget.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoSwitch = function() {
///
/// Returns a reference to the kendo.mobile.ui.Switch widget, instantiated on the selector.
///
/// The kendo.mobile.ui.Switch instance (if present).
};
$.fn.kendoSwitch = function(options) {
///
/// Instantiates a kendo.mobile.ui.Switch widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
checked — Boolean (default: false)
///
The checked state of the widget.
///
///
offLabel — String (default: "OFF")
///
The OFF label.
///
///
onLabel — String (default: "ON")
///
The ON label.
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.TabStrip = function() { };
kendo.mobile.ui.TabStrip.prototype = {
badge: function(tab,value) {
///
/// Introduced in Q1 2013 SP Sets a badge on one of the tabs with the specified value. If invoked without second parameter, returns the tab's current badge value. Set the value to false to remove the badge.
///
/// The target tab specified either as a jQuery selector/object or as an item index.
/// The target value to be set or false to be removed.
/// Returns the badge value if invoked without parameters, otherwise returns the TabStrip object.
},
currentItem: function() {
///
/// Get the currently selected tab DOM element.
///
/// the currently selected tab DOM element.
},
destroy: function() {
///
/// Prepares the TabStrip 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.
///
},
switchTo: function(url) {
///
/// Set the mobile TabStrip active tab to the tab with the specified url. This method doesn't change the current View. To change the View, use Application's navigate method instead.
///
/// The url of the tab.
},
clear: function() {
///
/// Clear the currently selected tab.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoTabStrip = function() {
///
/// Returns a reference to the kendo.mobile.ui.TabStrip widget, instantiated on the selector.
///
/// The kendo.mobile.ui.TabStrip instance (if present).
};
$.fn.kendoTabStrip = function(options) {
///
/// Instantiates a kendo.mobile.ui.TabStrip widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
selectedIndex — Number (default: 0)
///
The index of the initially selected tab.
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.View = function() { };
kendo.mobile.ui.View.prototype = {
destroy: function() {
///
/// Prepares the View 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.
///
},
contentElement: function() {
///
/// Retrieves the current content holder of the View - this is the content element if the View is stretched or the scroll container otherwise.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoView = function() {
///
/// Returns a reference to the kendo.mobile.ui.View widget, instantiated on the selector.
///
/// The kendo.mobile.ui.View instance (if present).
};
$.fn.kendoView = function(options) {
///
/// Instantiates a kendo.mobile.ui.View widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
model — String (default: null)
///
The MVVM model to bind to. If a string is passed, The view will try to resolve a reference to the view model variable in the global scope.
///
///
reload — Boolean (default: null)
///
Applicable to remote views only. If set to true, the remote view contents will be reloaded from the server (using Ajax) each time the view is navigated to.
///
///
stretch — Boolean (default: false)
///
If set to true, the view will stretch its child contents to occupy the entire view, while disabling kinetic scrolling.
///
Useful if the view contains an image or a map.
///
///
title — String
///
The text to display in the navbar title (if present) and the browser title.
///
///
useNativeScrolling — Boolean (default: false)
///
(available since Q1 2013)
///
If set to true, the view will use the native scrolling available in the current platform. This should help with form issues on some platforms (namely Android and WP8).
///
Native scrolling is only enabled on platforms that support it: iOS > 4, Android > 2, WP8. BlackBerry devices do support it, but the native scroller is flaky.
///
///
zoom — Boolean (default: false)
///
If set to true, the user can zoom in/out the contents of the view using the pinch/zoom gesture.
///
///
///
/// The widget configuration options
///
};
kendo.mobile.ui.Widget = function() { };
kendo.mobile.ui.Widget.prototype = {
view: function() {
///
/// Returns the kendo.mobile.ui.View which contains the widget.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoWidget = function() {
///
/// Returns a reference to the kendo.mobile.ui.Widget widget, instantiated on the selector.
///
/// The kendo.mobile.ui.Widget instance (if present).
};
$.fn.kendoWidget = function(options) {
///
/// Instantiates a kendo.mobile.ui.Widget widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};
kendo.ui.Draggable = function() { };
kendo.ui.Draggable.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoDraggable = function() {
///
/// Returns a reference to the kendo.ui.Draggable widget, instantiated on the selector.
///
/// The kendo.ui.Draggable instance (if present).
};
$.fn.kendoDraggable = function(options) {
///
/// Instantiates a kendo.ui.Draggable widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
axis — String (default: null)
///
Constrains the hint movement to either the horizontal (x) or vertical (y) axis. Can be set to either "x" or "y".
///
///
cursorOffset — Object (default: null)
///
If set, specifies the offset of the hint relative to the mouse cursor/finger.
///
By default, the hint is initially positioned on top of the draggable source offset. The option accepts an object with two keys: top and left.
///
///
distance — Number (default: 5)
///
The required distance that the mouse should travel in order to initiate a drag.
///
///
group — String (default: "default")
///
Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target.
///
///
hint — Function
///
Provides a way for customization of the drag indicator. If a function is supplied, it receives one argument - the draggable element's jQuery object.
///
///
///
/// The widget configuration options
///
};
kendo.ui.DropTarget = function() { };
kendo.ui.DropTarget.prototype = {
destroyGroup: function() {
///
/// Destroys all DropTarget instances from the group with the given name.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoDropTarget = function() {
///
/// Returns a reference to the kendo.ui.DropTarget widget, instantiated on the selector.
///
/// The kendo.ui.DropTarget instance (if present).
};
$.fn.kendoDropTarget = function(options) {
///
/// Instantiates a kendo.ui.DropTarget widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
group — String (default: "default")
///
Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target.
///
///
///
/// The widget configuration options
///
};
kendo.ui.DropTargetArea = function() { };
kendo.ui.DropTargetArea.prototype = {
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoDropTargetArea = function() {
///
/// Returns a reference to the kendo.ui.DropTargetArea widget, instantiated on the selector.
///
/// The kendo.ui.DropTargetArea instance (if present).
};
$.fn.kendoDropTargetArea = function(options) {
///
/// Instantiates a kendo.ui.DropTargetArea widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
group — String (default: "default")
///
Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target.
///
///
filter — String (default: ")
///
Selector to filter the drop targets in the area. Every matched element acts as a drop target and fires events on the DropTargetArea.
///
///
///
/// The widget configuration options
///
};
kendo.ui.Touch = function() { };
kendo.ui.Touch.prototype = {
destroy: function() {
///
/// Prepares the Touch 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.
///
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoTouch = function() {
///
/// Returns a reference to the kendo.ui.Touch widget, instantiated on the selector.
///
/// The kendo.ui.Touch instance (if present).
};
$.fn.kendoTouch = function(options) {
///
/// Instantiates a kendo.ui.Touch widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
global — Boolean (default: false)
///
If set to true, the document element will be used a s surface for the user drags.
///
///
multiTouch — Boolean (default: false)
///
If set to true, the widget will capture and trigger the gesturestart, gesturechange, and gestureend events when the user touches the element with two fingers.
///
///
enableSwipe — Boolean (default: false)
///
If set to true, the Touch widget will recognize horizontal swipes and trigger the swipe event.Notice: if the enableSwipe option is set to true, the dragstart, drag and dragend events will not be triggered.
///
///
minXDelta — Number (default: 30)
///
The minimum horizontal distance in pixels the user should swipe before the swipe event is triggered.
///
///
maxYDelta — Number (default: 20)
///
The maximum vertical deviation in pixels of the swipe event. Swipes with higher deviation are discarded.
///
///
maxDuration — Number (default: 1000)
///
The maximum amount of time in milliseconds the swipe event can last. Slower swipes are discarded.
///
///
minHold — Number (default: 800)
///
The timeout in milliseconds before the hold event is fired.Notice: the hold event will be triggered after the time passes, not after the user lifts his/hers finger.
///
///
doubleTapTimeout — Number (default: 400)
///
The maximum period (in milliseconds) between two consecutive taps which will trigger the doubletap event.
///
///
///
/// The widget configuration options
///
};
kendo.ui.Validator = function() { };
kendo.ui.Validator.prototype = {
errors: function() {
///
/// Get the error messages if any.
///
/// Messages for the failed validation rules.
},
hideMessages: function() {
///
/// Hides the validation messages.
///
},
validate: function() {
///
/// Validates the input element(s) against the declared validation rules.
///
/// true if all validation rules passed successfully.Note that if a HTML form element is set as validation container, the form submits will be automatically prevented if validation fails.
},
validateInput: function(input) {
///
/// Validates the input element against the declared validation rules.
///
/// Input element to be validated.
/// true if all validation rules passed successfully.
},
bind: function(event, callback) {
///
/// Binds to a widget event.
///
/// The event name
/// The callback to be executed when the event is triggered.
},
unbind: function(event, callback) {
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
}
};
$.fn.getKendoValidator = function() {
///
/// Returns a reference to the kendo.ui.Validator widget, instantiated on the selector.
///
/// The kendo.ui.Validator instance (if present).
};
$.fn.kendoValidator = function(options) {
///
/// Instantiates a kendo.ui.Validator widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
messages — Object
///
Set of messages (either strings or functions) which will be shown when given validation rule fails.
///
By setting already existing key the appropriate built-in message will be overridden.
///
///
rules — Object
///
Set of custom validation rules. Those rules will extend the built-in ones.
///
///
validateOnBlur — Boolean
///
Determines if validation will be triggered when element loses focus. Default value is true.
///
///
///
/// The widget configuration options
///
};
kendo.ui.Widget = function() { };
kendo.ui.Widget.prototype = {
bind: function() {
///
/// Attaches a handler to an event. More info can be found in the bind section of the
/// kendo.Observable API reference.
///
},
destroy: function() {
///
/// Prepares the widget for safe removal from the DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.
///
},
one: function() {
///
/// Attaches a handler to an event. The handler is executed only once. More info can be found in the one section of the
/// kendo.Observable API reference.
///
},
trigger: function() {
///
/// Executes all handlers attached to the given event. More info can be found in the trigger section of the
/// kendo.Observable API reference.
///
},
unbind: function() {
///
/// Remove a previously attached event handler. More info can be found in the unbind section of the
/// kendo.Observable API reference.
///
},
self: null
};
$.fn.getKendoWidget = function() {
///
/// Returns a reference to the kendo.ui.Widget widget, instantiated on the selector.
///
/// The kendo.ui.Widget instance (if present).
};
$.fn.kendoWidget = function(options) {
///
/// Instantiates a kendo.ui.Widget widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
///
/// The widget configuration options
///
};