intellisense.annotate(kendo, {
Class: function() {
///
/// Constructor of kendo.Class
///
}
});
kendo.Class = (function() {
var original = kendo.Class;
var wrapper = function() {
var instance = new original();
intellisense.annotate(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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo, {
Color: function() {
///
/// Constructor of kendo.Color
///
}
});
kendo.Color = (function() {
var original = kendo.Color;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
diff: function() {
///
///
/// Computes the relative luminance between two colors.
///
/// The relative luminance.
///
},
equals: function() {
///
///
/// Compares two color objects for equality.
///
/// returns true if the two colors are the same. Otherwise, false
///
},
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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo, {
Layout: function() {
///
/// Constructor of kendo.Layout
///
}
});
kendo.Layout = (function() {
var original = kendo.Layout;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo, {
Observable: function() {
///
/// Constructor of kendo.Observable
///
}
});
kendo.Observable = (function() {
var original = kendo.Observable;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
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 longer be executed. If not specified all handlers listening to that event will be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo, {
Router: function() {
///
/// Constructor of kendo.Router
///
}
});
kendo.Router = (function() {
var original = kendo.Router;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
start: function() {
///
///
/// Activates the router binding to the URL fragment part changes.
///
///
},
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. Query string parameters are parsed and passed as last argument of the callback function.
///
/// 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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo, {
View: function() {
///
/// Constructor of kendo.View
///
}
});
kendo.View = (function() {
var original = kendo.View;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
Binder: function() {
///
/// Constructor of kendo.data.Binder
///
}
});
kendo.data.Binder = (function() {
var original = kendo.data.Binder;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
refresh: function() {
///
///
/// Invoked by the Kendo UI MVVM framework when the bound view model value is changed. The binder should update the UI (HTML element or Kendo UI widget) to reflect the view model change.
///
///
},
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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
DataSource: function() {
///
/// Constructor of kendo.data.DataSource
///
}
});
kendo.data.DataSource = (function() {
var original = kendo.data.DataSource;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
HierarchicalDataSource: function() {
///
/// Constructor of kendo.data.HierarchicalDataSource
///
}
});
kendo.data.HierarchicalDataSource = (function() {
var original = kendo.data.HierarchicalDataSource;
var wrapper = function() {
var instance = new original();
intellisense.annotate(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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
Model: function() {
///
/// Constructor of kendo.data.Model
///
}
});
kendo.data.Model = (function() {
var original = kendo.data.Model;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bind: function() {
///
///
/// Attaches a handler to an event. Examples and more info can be found in the bind section of the kendo.Observable API reference.
///
///
},
editable: function(field) {
///
///
/// Determines if the specified field is editable or not.
///
/// The field to check.
/// true if the field is editable; false otherwise.
///
},
get: function() {
///
///
/// Gets the value of the specified field. Inherited from kendo.data.ObservableObject. Examples and 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 (specified through the fields configuration) the model is considered as new.
///
/// true if the model is new; false otherwise.
///
},
set: function() {
///
///
/// Sets the value of the specified field. Inherited from kendo.data.ObservableObject. Examples and 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 kendo.data.ObservableObject. Examples and 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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
Node: function() {
///
/// Constructor of kendo.data.Node
///
}
});
kendo.data.Node = (function() {
var original = kendo.data.Node;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
append: function(model) {
///
///
/// Appends a new item to the children data source, and initializes it if necessary.
///
/// The data for the new item
///
},
level: function() {
///
///
/// Gets the current nesting level of the node within the data source.
///
/// the zero based level of the node.
///
},
load: function() {
///
///
/// Loads the child nodes in the child data source, 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.
///
/// the parent of the node; null if the node is a root node or doesn't have a parent.
///
},
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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
ObservableArray: function() {
///
/// Constructor of kendo.data.ObservableArray
///
}
});
kendo.data.ObservableArray = (function() {
var original = kendo.data.ObservableArray;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
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() {
///
///
/// Gets the parent of the array if such parent exists.
///
/// the parent of the array; undefined if the array is not nested and doesn't have a parent.
///
},
pop: function() {
///
///
/// Removes the last item from an array and returns that item. Equivalent of Array.prototype.pop.
///
/// the item which was removed.
///
},
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.
///
/// the new length of the array.
///
},
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.
///
/// 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 set to 0, no items are removed. In this case, you should specify at least one new item.
/// 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.
///
/// the item which was removed.
///
},
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.
///
/// the new length of the array.
///
},
unbind: function(event, callback) {
///
///
/// Unbinds a callback from a widget event.
///
/// The event name
/// The callback to be removed.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
ObservableObject: function() {
///
/// Constructor of kendo.data.ObservableObject
///
}
});
kendo.data.ObservableObject = (function() {
var original = kendo.data.ObservableObject;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bind: function() {
///
///
/// Attaches a handler to an event. Examples and 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() {
///
///
/// Gets the parent of the object if such parent exists.
///
/// the parent of the object; undefined if the object is not nested and doesn't have a parent.
///
},
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.
///
/// 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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
SchedulerDataSource: function() {
///
/// Constructor of kendo.data.SchedulerDataSource
///
}
});
kendo.data.SchedulerDataSource = (function() {
var original = kendo.data.SchedulerDataSource;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
expand: function(start,end) {
///
///
/// Expands all recurring events in the data and returns a list of events for a specific period.
///
/// The start date of the period.
/// The end date of the period.
/// the expanded list of scheduler events filtered by the specified start/end period.
///
},
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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.data, {
SchedulerEvent: function() {
///
/// Constructor of kendo.data.SchedulerEvent
///
}
});
kendo.data.SchedulerEvent = (function() {
var original = kendo.data.SchedulerEvent;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
clone: function(options) {
///
///
/// Clones the scheduler event.
///
/// Additional options passed to the SchedulerEvent constructor.
/// the cloned scheduler event.
///
},
duration: function() {
///
///
/// Returns the scheduler event length in milliseconds.
///
/// the length of the event.
///
},
expand: function(start,end,timeZoneId) {
///
///
/// Expands the event for a specific period based on the recurrenceRule option.
///
/// The start date of the occurrence period.
/// The end date of the occurrence period.
/// The time zone ID used to convert the recurrence rule dates.
/// the list of the occurrences.
///
},
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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
intellisense.annotate(kendo.dataviz.ui, {
Barcode: function() {
///
/// Constructor of kendo.dataviz.ui.Barcode
///
}
});
kendo.dataviz.ui.Barcode = (function() {
var original = kendo.dataviz.ui.Barcode;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
imageDataURL: function() {
///
///
/// Returns a PNG image of the barcode encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
///
},
redraw: function() {
///
///
/// Redraws the barcode.
///
///
},
svg: function() {
///
///
/// Returns the SVG representation of the barcode. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape and
/// ImageMagick. Both programs provide command-line interface suitable for server-side processing.
///
/// the SVG representation of the barcode.
///
},
value: function(value) {
///
///
/// Gets/Sets the value of the barcode.
///
/// The value to set.
/// The value of the barcode.
///
},
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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoBarcode = function() {
this.data("kendoBarcode", new kendo.dataviz.ui.Barcode());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoBarcode: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.Barcode widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.Barcode instance (if present).
///
},
kendoBarcode: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.Barcode widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
renderAs — String (default: "canvas")
///
Sets the preferred rendering engine.
///
If it is not supported by the browser, the Barcode will switch to the first available mode.The supported values are:
///
///
background — String (default: "white")
///
The background of the barcode area.
///
Any valid CSS color string will work here, including hex and rgb.
///
///
border — Object
///
The border of the barcode area.
///
///
checksum — Boolean (default: false)
///
If set to true the barcode will not display the checksum digit next to the value in the text area.
///
///
color — String (default: "black")
///
The color of the bar elements.
///
Any valid CSS color string will work here, including hex and rgb.
///
///
height — Number (default: 100)
///
The height of the barcode in pixels. By default the height is 100.
///
///
padding — Object
///
The padding of the barcode.
///
///
text — Object
///
Can be set to a JavaScript object which represents the text configuration.
///
///
type — String (default: "code39")
///
The symbology (encoding) the barcode will use.The supported values are:
///
///
value — String
///
The initial value of the Barcode
///
///
width — Number (default: 300)
///
The width of the barcode in pixels. By default the width is 300.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.dataviz.ui, {
Chart: function() {
///
/// Constructor of kendo.dataviz.ui.Chart
///
}
});
kendo.dataviz.ui.Chart = (function() {
var original = kendo.dataviz.ui.Chart;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
destroy: function() {
///
///
/// Prepares the widget 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.
///
///
},
redraw: function() {
///
///
/// Repaints the chart using the currently loaded data.
///
///
},
refresh: function() {
///
///
/// Reloads the data and renders the chart.
///
///
},
setDataSource: function(dataSource) {
///
///
/// Sets the data source of the widget.
///
/// The data source to which the widget should be bound.
///
},
setOptions: function(options) {
///
///
/// Sets the widget options. Changes are cumulative.
///
/// The chart settings to update.
///
},
svg: function() {
///
///
/// Returns the SVG representation of the chart.
/// The returned string is a self-contained SVG document that can be used as is or
/// converted to other formats using tools like Inkscape and
/// ImageMagick.
/// Both programs provide command-line interface suitable for server-side processing.
///
/// the SVG representation of the chart.
///
},
imageDataURL: function() {
///
///
/// Returns a PNG image of the chart encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas 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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoChart = function() {
this.data("kendoChart", new kendo.dataviz.ui.Chart());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoChart: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.Chart widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.Chart instance (if present).
///
},
kendoChart: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.Chart widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
autoBind — Boolean (default: true)
///
If set to false the widget will not bind to the data source during initialization. In this case data binding will occur when the change event of the
///
data source is fired. By default the widget will bind to the data source specified in the configuration.
///
///
axisDefaults — Object
///
The default options for all chart axes. Accepts the options supported by categoryAxis, valueAxis, xAxis and yAxis.
///
///
categoryAxis — Array|Object
///
The category axis configuration options.
///
///
chartArea — Object
///
The chart area configuration options. Represents the entire visible area of the chart.
///
///
dataSource — Object|Array
///
The data source of the chart which is used to display the series. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.DataSource
///
instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.DataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.DataSource instance the widget will use that instance and will not initialize a new one.
///
///
legend — Object
///
The chart legend configuration options.
///
///
panes — Array
///
The chart panes configuration.Panes are used to split the chart in two or more parts. The panes are ordered from top to bottom.Each axis can be associated with a pane by setting its pane option to the name of the desired pane.
///
Axis that don't have specified pane are placed in the top (default) pane.Series are moved to the desired pane by associating them with an axis.
///
///
plotArea — Object
///
The plot area configuration options. The plot area is the area which displays the series.
///
///
renderAs — String
///
Sets the preferred rendering engine.
///
If it is not supported by the browser, the Chart will switch to the first available mode.The supported values are:
///
///
series — Array
///
The configuration of the chart series.The series type is determined by the value of the type field.
///
If a type value is missing, the type is assumed to be the one specified in seriesDefaults.
///
///
seriesColors — Array
///
The default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
///
///
seriesDefaults — Object
///
The default options for all series.
///
///
theme — String
///
The chart theme.The supported values are:
///
///
title — String
///
The chart title configuration options or text.
///
///
title — Object
///
The chart title configuration options or text.
///
///
tooltip — Object
///
The chart series tooltip configuration options.
///
///
transitions — Boolean (default: true)
///
If set to true the chart will play animations when displaying the series. By default animations are enabled.
///
///
valueAxis — Array
///
The value axis configuration options.
///
///
xAxis — Array
///
The X-axis configuration options of the scatter chart X-axis. Supports all valueAxis options.
///
///
yAxis — Array
///
The y axis configuration options of the scatter chart. Supports all valueAxis options.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.dataviz.ui, {
LinearGauge: function() {
///
/// Constructor of kendo.dataviz.ui.LinearGauge
///
}
});
kendo.dataviz.ui.LinearGauge = (function() {
var original = kendo.dataviz.ui.LinearGauge;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
destroy: function() {
///
///
/// Prepares the Gauge for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks.
///
///
},
redraw: function() {
///
///
/// Redraws the gauge.
///
///
},
svg: function() {
///
///
/// Returns the SVG representation of the gauge.
/// The returned string is a self-contained SVG document that can be used as is or
/// converted to other formats using tools like Inkscape and
/// ImageMagick.
/// Both programs provide command-line interface suitable for server-side processing.
///
///
},
imageDataURL: function() {
///
///
/// Returns a PNG image of the gauge encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
///
},
value: function() {
///
///
/// Change the value of the gauge.
///
///
},
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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoLinearGauge = function() {
this.data("kendoLinearGauge", new kendo.dataviz.ui.LinearGauge());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoLinearGauge: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.LinearGauge widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.LinearGauge instance (if present).
///
},
kendoLinearGauge: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.LinearGauge widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
gaugeArea — Object
///
The gauge area configuration options.
///
This is the entire visible area of the gauge.
///
///
pointer — Object
///
The pointer configuration options.
///
///
renderAs — String
///
Sets the preferred rendering engine.
///
If it is not supported by the browser, the Gauge will switch to the first available mode.The supported values are:
///
///
scale — Object
///
Configures the scale.
///
///
transitions — Boolean (default: true)
///
A value indicating if transition animations should be played.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.dataviz.ui, {
Map: function() {
///
/// Constructor of kendo.dataviz.ui.Map
///
}
});
kendo.dataviz.ui.Map = (function() {
var original = kendo.dataviz.ui.Map;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
destroy: function() {
///
///
/// Prepares the widget 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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoMap = function() {
this.data("kendoMap", new kendo.dataviz.ui.Map());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoMap: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.Map widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.Map instance (if present).
///
},
kendoMap: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.Map widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
center — Array
///
The map center. Coordinates are listed as [Latitude, Longitude].
///
///
controls — Object
///
The configuration of built-in map controls.
///
///
layerDefaults — Object
///
The default configuration for map layers by type.
///
///
layers — Array
///
The configuration of the map layers.
///
The layer type is determined by the value of the type field.
///
///
markerDefaults — Object
///
The default options for all markers.
///
///
markers — Array
///
Static markers to display on the map.
///
///
minZoom — Number (default: 2)
///
The minimum zoom level.
///
///
maxZoom — Number (default: 19)
///
The maximum zoom level.
///
///
minSize — Number (default: 256)
///
The size of the map in pixels at zoom level 0.
///
///
wraparound — Boolean (default: true)
///
Specifies whether the map should wrap around the east-west edges.
///
///
zoom — Number (default: 3)
///
The initial zoom level.Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).The map size is derived from the zoom level and minScale options: size = (2 ^ zoom) * minSize
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.dataviz.ui, {
QRCode: function() {
///
/// Constructor of kendo.dataviz.ui.QRCode
///
}
});
kendo.dataviz.ui.QRCode = (function() {
var original = kendo.dataviz.ui.QRCode;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
destroy: function() {
///
///
/// Prepares the QRCode for safe removal from the DOM.Removes data entries in order to avoid memory leaks.
///
///
},
imageDataURL: function() {
///
///
/// Returns a PNG image of the qrcode encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
///
},
redraw: function() {
///
///
/// Redraws the QR code using the current value and options.
///
///
},
setOptions: function(options) {
///
///
/// Sets new options to the QRCode and redraws it.
///
/// An object with the new options. All configuration options can be set.
///
},
svg: function() {
///
///
/// Returns the SVG representation of the qrcode. The returned string is a self-contained SVG document that can be used as is or converted to other formats using tools like Inkscape and
/// ImageMagick. Both programs provide command-line interface suitable for server-side processing.
///
/// the SVG representation of the qrcode.
///
},
value: function(options) {
///
///
/// Change the value of the QR code.
///
/// The new value to be set.
///
},
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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoQRCode = function() {
this.data("kendoQRCode", new kendo.dataviz.ui.QRCode());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoQRCode: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.QRCode widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.QRCode instance (if present).
///
},
kendoQRCode: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.QRCode widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
background — String (default: "#fff")
///
The background color of the QR code. Accepts a valid CSS color string, including hex and rgb.
///
///
border — Object
///
The border of the QR code.
///
///
color — String (default: "#000")
///
The color of the QR code. Accepts a valid CSS color string, including hex and rgb.
///
///
encoding — String (default: "ISO_8859_1")
///
The encoding mode used to encode the value.The possible values are:
///
///
errorCorrection — String (default: "L")
///
The error correction level used to encode the value.The possible values are:
///
///
renderAs — String (default: "canvas")
///
Sets the preferred rendering engine.
///
If it is not supported by the browser, the QRCode will switch to the first available mode.The supported values are:
///
///
size — Number|String
///
Specifies the size of a QR code in pixels (i.e. "200px"). Numeric values are treated as pixels. If no size is specified, it will be determined from the element width and height. In case the element does not have width or height bigger than zero, a default value of 200 pixels will be used.
///
///
value — Number|String
///
The value of the QRCode.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.dataviz.ui, {
RadialGauge: function() {
///
/// Constructor of kendo.dataviz.ui.RadialGauge
///
}
});
kendo.dataviz.ui.RadialGauge = (function() {
var original = kendo.dataviz.ui.RadialGauge;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
destroy: function() {
///
///
/// Prepares the Gauge for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks.
///
///
},
redraw: function() {
///
///
/// Redraws the gauge.
///
///
},
svg: function() {
///
///
/// Returns the SVG representation of the gauge.
/// The returned string is a self-contained SVG document that can be used as is or
/// converted to other formats using tools like Inkscape and
/// ImageMagick.
/// Both programs provide command-line interface suitable for server-side processing.
///
///
},
imageDataURL: function() {
///
///
/// Returns a PNG image of the gauge encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas element.
///
},
value: function() {
///
///
/// Change the value of the gauge.
///
///
},
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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoRadialGauge = function() {
this.data("kendoRadialGauge", new kendo.dataviz.ui.RadialGauge());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoRadialGauge: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.RadialGauge widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.RadialGauge instance (if present).
///
},
kendoRadialGauge: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.RadialGauge widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
gaugeArea — Object
///
The gauge area configuration options.
///
This is the entire visible area of the gauge.
///
///
pointer — Object
///
The pointer configuration options.
///
///
renderAs — String
///
Sets the preferred rendering engine.
///
If it is not supported by the browser, the Gauge will switch to the first available mode.The supported values are:
///
///
scale — Object
///
Configures the scale.
///
///
transitions — Boolean (default: true)
///
A value indicating if transition animations should be played.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.dataviz.ui, {
Sparkline: function() {
///
/// Constructor of kendo.dataviz.ui.Sparkline
///
}
});
kendo.dataviz.ui.Sparkline = (function() {
var original = kendo.dataviz.ui.Sparkline;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
destroy: function() {
///
///
/// Prepares the Sparkline for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks.
///
///
},
refresh: function() {
///
///
/// Reloads the data and repaints the chart.
///
///
},
setDataSource: function(dataSource) {
///
///
/// Sets the dataSource of an existing Chart and rebinds it.
///
///
///
},
setOptions: function(options) {
///
///
/// Sets the widget options. Changes are cumulative.
///
/// The chart settings to update.
///
},
svg: function() {
///
///
/// Returns the SVG representation of the chart.
/// The returned string is a self-contained SVG document that can be used as is or
/// converted to other formats using tools like Inkscape and
/// ImageMagick.
/// Both programs provide command-line interface suitable for server-side processing.
///
/// the SVG representation of the sparkline.
///
},
imageDataURL: function() {
///
///
/// Returns a PNG image of the sparkline encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas 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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoSparkline = function() {
this.data("kendoSparkline", new kendo.dataviz.ui.Sparkline());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoSparkline: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.Sparkline widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.Sparkline instance (if present).
///
},
kendoSparkline: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.Sparkline widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
axisDefaults — Object
///
Default options for all chart axes.
///
///
categoryAxis — Array
///
The category axis configuration options.
///
///
chartArea — Object
///
The chart area configuration options.
///
This is the entire visible area of the chart.
///
///
data — Array
///
The data for the default sparkline series.Will be discareded if series are supplied.
///
///
dataSource — Object
///
DataSource configuration or instance.
///
///
autoBind — Boolean (default: true)
///
Indicates whether the chart will call read on the data source initially.
///
///
plotArea — Object
///
The plot area configuration options. This is the area containing the plotted series.
///
///
pointWidth — Number (default: 5)
///
The width to allocate for each data point.
///
///
renderAs — String
///
Sets the preferred rendering engine.
///
If it is not supported by the browser, the Sparkline will switch to the first available mode.The supported values are:
///
///
series — Array
///
Array of series definitions.The series type is determined by the value of the type field.
///
If a type value is missing, the type is assumed to be the one specified in seriesDefaults.Each series type has a different set of options.
///
///
seriesColors — Array
///
The default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
///
///
seriesDefaults — Object
///
Default values for each series.
///
///
theme — String
///
Sets Chart theme. Available themes: default, blueOpal, black.
///
///
tooltip — Object
///
The data point tooltip configuration options.
///
///
transitions — Boolean (default: false)
///
A value indicating if transition animations should be played.
///
///
type — String (default: "line")
///
The default series type.
///
///
valueAxis — Array
///
The value axis configuration options.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.dataviz.ui, {
StockChart: function() {
///
/// Constructor of kendo.dataviz.ui.StockChart
///
}
});
kendo.dataviz.ui.StockChart = (function() {
var original = kendo.dataviz.ui.StockChart;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
destroy: function() {
///
///
/// Prepares the widget 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.
///
///
},
redraw: function() {
///
///
/// Repaints the chart using the currently loaded data.
///
///
},
refresh: function() {
///
///
/// Reloads the data and renders the chart.
///
///
},
setDataSource: function(dataSource) {
///
///
/// Sets the data source of the widget.
///
/// The data source to which the widget should be bound.
///
},
svg: function() {
///
///
/// Returns the SVG representation of the chart.
/// The returned string is a self-contained SVG document that can be used as is or
/// converted to other formats using tools like Inkscape and
/// ImageMagick.
/// Both programs provide command-line interface suitable for server-side processing.
///
/// the SVG representation of the chart.
///
},
imageDataURL: function() {
///
///
/// Returns a PNG image of the chart encoded as a Data URL.
///
/// A data URL with image/png MIME type. Will be null if the browser does not support the canvas 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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoStockChart = function() {
this.data("kendoStockChart", new kendo.dataviz.ui.StockChart());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoStockChart: function() {
///
///
/// Returns a reference to the kendo.dataviz.ui.StockChart widget, instantiated on the selector.
///
/// The kendo.dataviz.ui.StockChart instance (if present).
///
},
kendoStockChart: function(options) {
///
///
/// Instantiates a kendo.dataviz.ui.StockChart widget based the DOM elements that match the selector.
///
Accepts an object with the following configuration options:
///
///
dateField — String (default: "date")
///
The field containing the point date.
///
It is used as a default categoryField for all series.The data item field value must be either:
///
///
navigator — Object
///
The data navigator configuration options.
///
///
axisDefaults — Object
///
Default options for all chart axes.
///
///
categoryAxis — Array
///
The category axis configuration options.
///
///
chartArea — Object
///
The chart area configuration options.
///
This is the entire visible area of the chart.
///
///
dataSource — Object
///
DataSource configuration or instance.
///
///
autoBind — Boolean (default: true)
///
Indicates whether the chart will call read on the data source initially.
///
///
legend — Object
///
The chart legend configuration options.
///
///
panes — Array
///
The chart panes configuration.Panes are used to split the chart in two or more parts. The panes are ordered from top to bottom.Each axis can be associated with a pane by setting its pane option to the name of the desired pane.
///
Axis that don't have specified pane are placed in the top (default) pane.Series are moved to the desired pane by associating them with an axis.
///
///
plotArea — Object
///
The plot area configuration options. This is the area containing the plotted series.
///
///
renderAs — String
///
Sets the preferred rendering engine.
///
If it is not supported by the browser, the Chart will switch to the first available mode.The supported values are:
///
///
series — Array
///
Array of series definitions.The series type is determined by the value of the type field.
///
If a type value is missing, the type is assumed to be the one specified in seriesDefaults.Each series type has a different set of options.
///
///
seriesColors — Array
///
The default colors for the chart's series. When all colors are used, new colors are pulled from the start again.
///
///
seriesDefaults — Object
///
Default values for each series.
///
///
theme — String
///
Sets Chart theme. Available themes: default, blueOpal, black.
///
///
title — Object
///
The chart title configuration options or text.
///
///
tooltip — Object
///
The data point tooltip configuration options.
///
///
transitions — Boolean (default: true)
///
A value indicating if transition animations should be played.
///
///
valueAxis — Array
///
The value axis configuration options.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.mobile.ui, {
Widget: function() {
///
/// Constructor of kendo.mobile.ui.Widget
///
}
});
kendo.mobile.ui.Widget = (function() {
var original = kendo.mobile.ui.Widget;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
view: function() {
///
///
/// Returns the kendo.mobile.ui.View which contains the widget. If the widget is contained in a splitview, modalview, or drawer, the respective widget instance is returned.
///
///
},
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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoWidget = function() {
this.data("kendoWidget", new kendo.mobile.ui.Widget());
return this;
};
intellisense.annotate(jQuery.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).
///
},
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
///
///
}
});
intellisense.annotate(kendo.ui, {
Draggable: function() {
///
/// Constructor of kendo.ui.Draggable
///
}
});
kendo.ui.Draggable = (function() {
var original = kendo.ui.Draggable;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
cancelHold: function() {
///
///
/// Has effect only when holdToDrag is set to true. Cancels the activated state of the widget, caused by pressing and holding.
///
///
},
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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoDraggable = function() {
this.data("kendoDraggable", new kendo.ui.Draggable());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoDraggable: function() {
///
///
/// Returns a reference to the kendo.ui.Draggable widget, instantiated on the selector.
///
/// The kendo.ui.Draggable instance (if present).
///
},
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.
///
///
holdToDrag — Boolean (default: false)
///
Suitable for touch oriented user interface, in order to avoid collision with the touch scrolling gesture. When set to true, the widget will be activated after the user taps and holds the finger on the element for a short amount of time.The draggable will also be activated by pressing, holding and lifting the finger without any movement. Dragging it afterwards will initiate the drag immediately. The activated mode can be canceled by calling cancelHold.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.ui, {
DropTarget: function() {
///
/// Constructor of kendo.ui.DropTarget
///
}
});
kendo.ui.DropTarget = (function() {
var original = kendo.ui.DropTarget;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoDropTarget = function() {
this.data("kendoDropTarget", new kendo.ui.DropTarget());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoDropTarget: function() {
///
///
/// Returns a reference to the kendo.ui.DropTarget widget, instantiated on the selector.
///
/// The kendo.ui.DropTarget instance (if present).
///
},
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
///
///
}
});
intellisense.annotate(kendo.ui, {
DropTargetArea: function() {
///
/// Constructor of kendo.ui.DropTargetArea
///
}
});
kendo.ui.DropTargetArea = (function() {
var original = kendo.ui.DropTargetArea;
var wrapper = function() {
var instance = new original();
intellisense.annotate(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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoDropTargetArea = function() {
this.data("kendoDropTargetArea", new kendo.ui.DropTargetArea());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoDropTargetArea: function() {
///
///
/// Returns a reference to the kendo.ui.DropTargetArea widget, instantiated on the selector.
///
/// The kendo.ui.DropTargetArea instance (if present).
///
},
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: null)
///
Selector to filter the drop targets in the area. Every matched element acts as a drop target and fires events on the DropTargetArea. Specifying the filter is mandatory.
///
///
///
/// The widget configuration options
///
///
}
});
intellisense.annotate(kendo.ui, {
Validator: function() {
///
/// Constructor of kendo.ui.Validator
///
}
});
kendo.ui.Validator = (function() {
var original = kendo.ui.Validator;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
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.
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoValidator = function() {
this.data("kendoValidator", new kendo.ui.Validator());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoValidator: function() {
///
///
/// Returns a reference to the kendo.ui.Validator widget, instantiated on the selector.
///
/// The kendo.ui.Validator instance (if present).
///
},
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
///
///
}
});
intellisense.annotate(kendo.ui, {
Widget: function() {
///
/// Constructor of kendo.ui.Widget
///
}
});
kendo.ui.Widget = (function() {
var original = kendo.ui.Widget;
var wrapper = function() {
var instance = new original();
intellisense.annotate(instance, {
bind: function() {
///
///
/// Attaches a handler to an event. Examples and 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. Examples and 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.
///
///
}
});
return instance;
};
intellisense.redirectDefinition(wrapper, original);
return wrapper;
})();
jQuery.fn.kendoWidget = function() {
this.data("kendoWidget", new kendo.ui.Widget());
return this;
};
intellisense.annotate(jQuery.fn, {
getKendoWidget: function() {
///
///
/// Returns a reference to the kendo.ui.Widget widget, instantiated on the selector.
///
/// The kendo.ui.Widget instance (if present).
///
},
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
///
///
}
});