/* global intellisense */ // jshint unused: false 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 /// }, toHSV: function() { /// /// /// Returns the color in HSV representation. As HSV object, it has the following properties: h -- hue, an integer between 0 and 360; s -- saturation, floating point between 0 and 1; v -- value, floating point between 0 and 1 or a -- alpha, floating point between 0 and 1. This does not modify the current object, it creates a new one instead. /// /// An object with h, s, v and a fields. /// }, toRGB: function() { /// /// /// Returns the color in RGB representation. The result has the following properties: r -- red component as floating point between 0 and 1; g -- green component; b -- blue component or a -- alpha. This does not modify the current object, it creates a new one instead. /// /// An object with r, g, b and a fields. /// }, toBytes: function() { /// /// /// Returns the color in "Bytes" representation. It has the same properties as RGB, but r, g and b are integers between 0 and 255 instead of floats.This does not modify the current object, it creates a new one instead. /// /// An object with r, g and b fields. /// }, toHex: function() { /// /// /// Returns a string in "FF0000" form (without a leading #). /// /// The color in hex notation. /// }, toCss: function() { /// /// /// Like toHex, but includes a leading #. /// /// The color in CSS notation. /// }, toCssRgba: function() { /// /// /// Returns the color in RGBA notation (includes the opacity). /// /// The color in RGBA notation. /// }, toDisplay: function() { /// /// /// Returns the color in the best notation supported by the current browser. In IE < 9 this returns the #FF0000 form; in all other browsers it returns the RGBA form. /// /// The color in the best notation supported by the current browser. /// }, 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,transitionClass) { /// /// /// 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. /// Optional. If provided, the new view will replace the current one with a replace effect. /// }, 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 changes. /// /// }, route: function(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. /// }, replace: function(route,silent) { /// /// /// Navigates to the given route, replacing the current view in the history stack (like window.history.replaceState or location.replace work). /// /// 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 (the HTML element or the 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. Every data item uid will be reset. /// /// 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.Compare with the view method, which will return the data items that correspond to the current page, filter, sort and group configuration. /// /// 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 an empty array if the data source was not 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. /// —A promise that will be resolved when the data has been loaded, or rejected if an HTTP error occurs. /// }, filter: function(value) { /// /// /// Gets or sets the filter configuration. /// /// The filter configuration. Accepts the same values as the filter option (check there for more examples). /// —The current filter configuration. Returns null if no filter criteria are currently applied. Returns undefined if the DataSource instance has not performed filtering so far. /// }, 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() { /// /// /// Checks if the data items have changed. /// /// —Returns true if the data items have changed. Otherwise, returns 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 a JavaScript object containing the field values. /// —The data item which is inserted. /// }, online: function(value) { /// /// /// Gets or sets the online state of the data source. /// /// The online state - true for online, false for offline. /// —The current online state - true if online. Otherwise, false. /// }, offlineData: function(data) { /// /// /// Gets or sets the offline state of the data source. /// /// The array of data items that replace the current offline state of the data source. /// —An array of JavaScript objects that represent the data items. Changed data items have a __state__ field attached. That field indicates the type of change: "create", "update", or "destroy". Unmodified data items do not have a __state__ field. /// }, 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. /// }, pushCreate: function(items) { /// /// /// Appends the specified data items to the data source without marking them as "new". The data source will not sync data items appended via pushCreate. /// /// The data item or data items to append to the data source. /// }, pushDestroy: function(items) { /// /// /// Removes the specified data items from the data source without marking them as "removed". The data source will not sync data items appended via pushDestroy. /// /// The data item or data items to remove from the data source. /// }, pushInsert: function(index,items) { /// /// /// Appends the specified data items to the data source without marking them as "new". The data source will not sync data items appended via pushInsert. /// /// The zero-based index at which the data item will be inserted. /// The data item or data items to append to the data source. /// }, pushUpdate: function(items) { /// /// /// Updates the specified data items without marking them as "dirty". The data source will not sync data items appended via pushUpdate. If the data items are not found (using schema.model.id), they will be appended. /// /// The data item or data items to update. /// }, query: function(options) { /// /// /// Executes the specified query over the data items. Makes an HTTP request if bound to a remote service.This method is useful when you need to modify several parameters of the data request at the same time (e.g. filtering and sorting). If you execute filter() and then sort(), the DataSource will make two separate requests. With query(), it will make one request. /// /// The query options which should be applied. /// —A promise that will be resolved when the data has been loaded or rejected if an HTTP error occurs. /// }, read: function(data) { /// /// /// Reads data items from a remote/custom transport (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. If you need to filter, it is better to use the filter() method or the query() method with a filter parameter. /// —A promise that will be resolved when the data has been loaded or rejected if an HTTP error occurs. /// }, remove: function(model) { /// /// /// Removes the specified data item from the data source. /// /// The data item which should be removed. /// }, skip: function() { /// /// /// Gets the current skip parameter of the dataSource. The skip parameter indicates the number of data items that should be skipped when a new page is formed. /// /// —The current skip parameter. /// }, 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. Returns undefined instead of an empty array if the DataSource instance has not performed any sorting so far. /// }, sync: function() { /// /// /// Saves any data item changes.The sync method will request the remote service if: The transport.create option is set and the data source contains new data items.; The transport.destroy option is set and data items have been removed from the data source. or The transport.update option is set and the data source contains updated data items.. /// /// —A promise that will be resolved when all sync requests have finished successfully, or rejected if any single request fails. /// }, 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 was not 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. Compare with the data method, which will return data items from all pages, if local data binding and paging are used.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, { GanttDataSource: function() { /// /// Constructor of kendo.data.GanttDataSource /// } }); kendo.data.GanttDataSource = (function() { var original = kendo.data.GanttDataSource; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { taskAllChildren: function(task) { /// /// /// Returns a list of all child tasks. The search is recursive. /// /// The parent task. If this parameter is not specified, all Gantt tasks will be returned. /// —The list of all child tasks. /// }, taskChildren: function(task) { /// /// /// Returns a list of all direct child tasks. /// /// The parent task. If this parameter is not specified, all root-level tasks will be returned. /// —The list of all direct child tasks. /// }, taskLevel: function(task) { /// /// /// Returns the level of the task in the hierarchy. 0 for root-level tasks. /// /// The reference task. /// —The level of the task in the hierarchy. /// }, taskParent: function(task) { /// /// /// Returns the parent task of a certain task. /// /// The reference task. /// —The parent task. /// }, taskSiblings: function(task) { /// /// /// Returns a list of all tasks that have the same parent. /// /// The reference task. /// —The list of all tasks with the same parent as the parameter task. If the parameter task is a root-level task, all root-level tasks are returned. /// }, taskTree: function(task) { /// /// /// Returns a list of all child Gantt tasks, ordered by their hierarchical index (Depth-First). a parent is collapsed, it's children are not returned. /// /// The reference task. If this parameter is specified, the result will be all child tasks of this task, ordered by their hierarchical index. /// —The list of all child Gantt tasks, ordered by their hierarchical index (Depth-First). /// }, update: function(task,taskInfo) { /// /// /// Updates a Gantt task. /// /// The task to be updated. /// The new values which will be used to update the task. /// }, 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, { GanttDependency: function() { /// /// Constructor of kendo.data.GanttDependency /// } }); kendo.data.GanttDependency = (function() { var original = kendo.data.GanttDependency; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { define: function(options) { /// /// /// Defines a new GanttDependency type using the provided options. /// /// Describes the configuration options of the new Gantt dependency class. /// }, 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, { GanttDependencyDataSource: function() { /// /// Constructor of kendo.data.GanttDependencyDataSource /// } }); kendo.data.GanttDependencyDataSource = (function() { var original = kendo.data.GanttDependencyDataSource; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { dependencies: function(id) { /// /// /// Returns a list of all dependencies for a certain task. /// /// The id of the Gantt task based on which the dependencies are filtered. /// —The list of all task dependencies. /// }, predecessors: function(id) { /// /// /// Returns a list of all predecessor dependencies for a certain task. /// /// The id of the Gantt task based on which the dependencies are filtered. /// —The list of all task predecessors. /// }, successors: function(id) { /// /// /// Returns a list of all successor dependencies for a certain task. /// /// The id of the Gantt task, based on which the dependencies are filtered. /// —The list of all task successors. /// }, 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, { GanttTask: function() { /// /// Constructor of kendo.data.GanttTask /// } }); kendo.data.GanttTask = (function() { var original = kendo.data.GanttTask; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { define: function(options) { /// /// /// Defines a new GanttTask type using the provided options. /// /// Describes the configuration options of the new Gantt task class. /// }, duration: function() { /// /// /// Returns the Gantt task length in milliseconds. /// /// —The length of the task. /// }, isMilestone: function() { /// /// /// Checks whether the event has zero duration. /// /// —Returns true if the task start is equal to the task end. /// }, 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, { filter: function(value) { /// /// /// Gets or sets the filter configuration. It applies the filter to all loaded nodes and creates views from the nodes that match the filter and their parent nodes up to the root of the hierarchy. Currently, nodes that are not loaded are not filtered. /// /// The filter configuration. Accepts the same values as the filter option. /// —The current filter configuration. Returns undefined if the DataSource instance has not performed filtering so far. /// }, 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. For more information and examples, refer to the bind API reference. /// /// }, define: function(options) { /// /// /// Defines a new Model type by using the provided options. The returned value inherits from the kendo.data.Model class. /// /// Describes the configuration options of the new model type. /// }, editable: function(field) { /// /// /// Determines if the specified field is editable or not. /// /// The field that will be checked. /// —Returns true if the field is editable. Otherwise, returns false. /// }, get: function() { /// /// /// Gets the value of the specified field. Inherited from kendo.data.ObservableObject. For more information and examples, refer to the get 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. If the value of the specified field is equal to the default value that is specified through the fields configuration, the model is considered new. /// /// —Returns true if the field is editable. Otherwise, returns false. /// }, set: function() { /// /// /// Sets the value of the specified field. Inherited from kendo.data.ObservableObject. For more information and examples, refer to the set API reference. /// /// }, toJSON: function() { /// /// /// Creates a plain JavaScript object which contains all fields of the Model. Inherited from kendo.data.ObservableObject. For more information and examples, refer to the toJSON 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 and supplies 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 the reloading of child items. /// /// }, parentNode: function() { /// /// /// Gets the parent node. /// /// —The parent of the node. Returns null if the node is a root node or does not 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 fired. /// }, join: function(separator) { /// /// /// Joins all items of an ObservableArray into a string. An 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 a parent exists. /// /// —The parent of the array. Returns undefined if the array is not nested and does not have a parent. /// }, pop: function() { /// /// /// Removes the last item from an array and returns that item. An 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. An equivalent of Array.prototype.push. The new items are wrapped as an ObservableObject if they are complex objects. /// /// —The new length of the array. /// }, slice: function(begin,end) { /// /// /// Returns a single-level deep copy of a portion of an array. An equivalent of Array.prototype.slice. The result of the slice method is not an instance of ObvservableArray—it is a regular JavaScript Array object. /// /// A zero-based index at which the extraction will start. /// A zero-based index at which the extraction will end. 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. An equivalent of Array.prototype.splice. /// /// An index at which the changing of the array will start. /// An integer which indicates the number of the items for removal. If set to 0, no items will be removed. In this case, you have to specify at least one new item. /// —Contains 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. An equivalent of Array.prototype.shift. /// /// —The item which was removed. /// }, toJSON: function() { /// /// /// Returns a JavaScript Array object 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. An 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. For more information and examples, refer to the bind API reference. /// /// }, get: function(name) { /// /// /// Gets the value of the specified field. /// /// The name of the field whose value will be returned. /// —The value of the specified field. /// }, parent: function() { /// /// /// Gets the parent of the object if such a parent exists. /// /// —The parent of the object. Returns undefined if the object is not nested and does not have a parent. /// }, set: function(name,value) { /// /// /// Sets the value of the specified field. /// /// The name of the field whose value will be returned. /// The new value of the field. /// }, toJSON: function() { /// /// /// Creates a plain JavaScript object which contains all fields of the ObservableObject. /// /// —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, { PivotDataSource: function() { /// /// Constructor of kendo.data.PivotDataSource /// } }); kendo.data.PivotDataSource = (function() { var original = kendo.data.PivotDataSource; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { axes: function() { /// /// /// Gets the parsed axes data. /// /// —The parsed axes data. /// }, catalog: function(name) { /// /// /// Gets or sets the current catalog name. /// /// The name of the catalog. /// —The current catalog name. /// }, columns: function(val) { /// /// /// Gets or sets the columns configuration. /// /// The columns configuration. Accepts the same values as the columns option. /// —The current columns configuration. /// }, cube: function(name) { /// /// /// Gets or sets the current cube name. /// /// The name of the cube. /// —The current cube name. /// }, discover: function(options) { /// /// /// Starts the discover request with the specified options. /// /// The options of the discover request. /// —The deferred object. /// }, expandColumn: function(path) { /// /// /// Expands a column tuple member that has children. /// /// The path that uniquely specifies the tuple member that needs to be expanded. /// }, expandRow: function(path) { /// /// /// Expands a row tuple member that has children. /// /// The path which uniquely specifies the tuple member that needs to be expanded. /// }, measures: function(val) { /// /// /// Gets or sets the measures configuration. /// /// The measures configuration. Accepts the same values as the measures option. /// —The current measures configuration. /// }, measuresAxis: function() { /// /// /// Gets the name of the axis on which the measures are displayed. /// /// —The axis name. /// }, rows: function(val) { /// /// /// Gets or sets the rows configuration. /// /// The rows configuration. Accepts the same values as the row option. /// —The current rows configuration. /// }, schemaCatalogs: function() { /// /// /// Requests the catalogs information. /// /// —The deferred object. /// }, schemaCubes: function() { /// /// /// Requests the cubes schema information. /// /// —The deferred object. /// }, schemaDimensions: function() { /// /// /// Requests the dimensions schema information. /// /// —The deferred object. /// }, schemaHierarchies: function(dimensionName) { /// /// /// Requests the hierarchies schema information. /// /// The name of the dimensions which is the "owner" of the hierarchy. /// —The deferred object. /// }, schemaLevels: function(hierarchyName) { /// /// /// Requests the levels schema information. /// /// The name of the hierarchy which is the "owner" of the level. /// —The deferred object. /// }, schemaMeasures: function() { /// /// /// Requests the measures schema information. /// /// —The deferred object. /// }, 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, { Query: function() { /// /// Constructor of kendo.data.Query /// } }); kendo.data.Query = (function() { var original = kendo.data.Query; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { toArray: function() { /// /// /// Returns the internal data collection /// /// Returns plain JavaScript array which represents the internal data collection /// }, skip: function(count) { /// /// /// Skip a given amount it items /// /// The number of items that should be skipped /// Returns a new instance of kendo.data.Query with the first count elements of the list skipped /// }, take: function(count) { /// /// /// Take a given amount it items /// /// The number of items that should be taken /// Returns a new instance of kendo.data.Query containing only the first count elements of the list /// }, select: function(selector) { /// /// /// Maps over the data items /// /// A function that is applied to each of the items /// Returns a new instance of kendo.data.Query containing the mapped collection /// }, order: function(selector) { /// /// /// Returns a copy of the list sorted according to the direction /// /// The current sort configuration. /// Returns a new instance of kendo.data.Query containing the sorted collection /// }, filter: function(expression) { /// /// /// Returns a copy of the list filtered according to the expression /// /// The filter configuration. Accepts the same values as the filter option (check there for more examples). /// Returns a new instance of kendo.data.Query containing the filtered collection /// }, groupBy: function(descriptor) { /// /// /// Returns a copy of the list grouped according to the descriptor /// /// The grouping configuration. Accepts the same values as the group option. /// Returns a new instance of kendo.data.Query containing the grouped collection /// }, 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, { 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, { define: function(options) { /// /// /// Defines a new SchedulerEvent type using the provided options. /// /// Describes the configuration options of the new scheduler event class. /// }, clone: function(options,updateUid) { /// /// /// Clones the scheduler event. /// /// Additional options passed to the SchedulerEvent constructor. /// If you pass true the uid of the event will be updated. /// 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. /// list of occurrences. /// }, update: function(eventInfo) { /// /// /// Updates the scheduler event. /// /// The new values, which will be used to update the event. /// }, isMultiDay: function() { /// /// /// Checks whether the event is equal to or longer then twenty four hours. /// /// return true if event is equal to or longer then 24 hours. /// }, isException: function() { /// /// /// Checks whether the event is a recurrence exception. /// /// return true if event is a recurrence exception. /// }, isOccurrence: function() { /// /// /// Checks whether the event is an occurrence part of a recurring series. /// /// return true if event is an occurrence. /// }, isRecurring: function() { /// /// /// Checks whether the event is part of a recurring series. /// /// return true if event is recurring. /// }, isRecurrenceHead: function() { /// /// /// Checks whether the event is the head of a recurring series. /// /// return true if event is a recurrence head. /// }, toOccurrence: function(options) { /// /// /// Converts the scheduler event to a event occurrence. Method will remove recurrenceRule, recurrenceException options, will add a recurrenceId field and will set id to the default one. /// /// Additional options passed to the SchedulerEvent constructor. /// the occurrence. /// }, 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, { TreeListDataSource: function() { /// /// Constructor of kendo.data.TreeListDataSource /// } }); kendo.data.TreeListDataSource = (function() { var original = kendo.data.TreeListDataSource; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { load: function(model) { /// /// /// Loads the child nodes of a model. /// /// The model that must be loaded. /// A promise that will be resolved when the child nodes have been loaded, or rejected if an HTTP error occurs. /// }, childNodes: function(model) { /// /// /// Child nodes for model. /// /// The model whose children must be returned. /// of the child items. /// }, rootNodes: function() { /// /// /// Return all root nodes. /// /// of the root items. /// }, parentNode: function(model) { /// /// /// The parent of given node. /// /// The model whose parent must be returned. /// parent of the node. /// }, level: function(model) { /// /// /// The hierarchical level of the node. /// /// The model whose level must be calculated. /// the hierarchy level of the node. /// }, 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, { TreeListModel: function() { /// /// Constructor of kendo.data.TreeListModel /// } }); kendo.data.TreeListModel = (function() { var original = kendo.data.TreeListModel; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { loaded: function() { /// /// /// Gets or sets the loaded flag of the TreeList. Setting the loaded flag to false allows reloading of child items. /// /// }, 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, { ChartAxis: function() { /// /// Constructor of kendo.dataviz.ChartAxis /// } }); kendo.dataviz.ChartAxis = (function() { var original = kendo.dataviz.ChartAxis; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { range: function() { /// /// /// Returns an object with the axis minimum and maximum values. /// /// the object with the min and max values. /// }, slot: function(from,to,limit) { /// /// /// Returns a slot based on the specified from and to values. /// /// The slot from value. /// The slot to value. If a to value is not specified, then the from value will be used. /// A boolean value indicating whether the slot should be limited to the current range. By default the range is limited. /// a rectangle or arc(for radar category and polar x axis) representing the slot. /// }, value: function(point) { /// /// /// Returns the value corresponding to the passed surface point. /// /// The surface point for which the value should be found. /// }, valueRange: function() { /// /// /// Returns an object with the minimum and maximum point value associated with the axis. /// /// }, 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, { ChartPane: function() { /// /// Constructor of kendo.dataviz.ChartPane /// } }); kendo.dataviz.ChartPane = (function() { var original = kendo.dataviz.ChartPane; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { findAxisByName: function(name) { /// /// /// Returns an axis from the pane with the specified name. /// /// The axis name. /// The chart axis. /// }, series: function() { /// /// /// Returns an array with the pane series. /// /// the array holding the pane series. /// }, 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, { ChartPlotArea: function() { /// /// Constructor of kendo.dataviz.ChartPlotArea /// } }); kendo.dataviz.ChartPlotArea = (function() { var original = kendo.dataviz.ChartPlotArea; 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.dataviz, { ChartPoint: function() { /// /// Constructor of kendo.dataviz.ChartPoint /// } }); kendo.dataviz.ChartPoint = (function() { var original = kendo.dataviz.ChartPoint; 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.dataviz, { ChartSeries: function() { /// /// Constructor of kendo.dataviz.ChartSeries /// } }); kendo.dataviz.ChartSeries = (function() { var original = kendo.dataviz.ChartSeries; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { data: function(data) { /// /// /// Gets or sets the series data. /// /// The series data to be set. /// the current series data. /// }, findPoint: function(callback) { /// /// /// Finds a series point. The method accepts a function which will be called for each point until the function returns true. /// /// The function that will be called with the series points. /// the found point. /// }, points: function(filter) { /// /// /// Gets or sets the series data. /// /// An optional function that can be used to filter the points. /// the series points. /// }, toggleHighlight: function(show,filter) { /// /// /// Toggles the highlight for the entire series or for specific point(s). /// /// A value indicating whether the highlight should be shown or hidden. /// A function that will is used to filter the highlighted points or an Array holding the point(s) that should be highlighted. /// }, toggleVisibility: function(show,filter) { /// /// /// Toggles the visibility for the entire series or for specific point(s). /// /// A value indicating whether the series or the points should be shown or hidden. /// An optional function that is used to filter the points that should be shown or hidden. The function is passed the point dataItem as argument. /// }, 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, { Navigator: function() { /// /// Constructor of kendo.dataviz.Navigator /// } }); kendo.dataviz.Navigator = (function() { var original = kendo.dataviz.Navigator; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { select: function() { /// /// /// Gets or sets the Navigator selected date range. /// /// An object with two date fields - from and to. /// }, 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.diagram, { Circle: function() { /// /// Constructor of kendo.dataviz.diagram.Circle /// } }); kendo.dataviz.diagram.Circle = (function() { var original = kendo.dataviz.diagram.Circle; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { position: function(offset) { /// /// /// Get or sets the element position. /// /// The offset of the element. /// }, rotate: function(angle,center) { /// /// /// Rotates the element with the specified parameters. /// /// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized. /// The center of rotation. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the current element. /// /// The new visibility state. /// True if the element is visible, false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.dataviz.diagram, { Connection: function() { /// /// Constructor of kendo.dataviz.diagram.Connection /// } }); kendo.dataviz.diagram.Connection = (function() { var original = kendo.dataviz.diagram.Connection; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { source: function(source) { /// /// /// Gets or sets the current source of the connection.This object can be a Point for a floating endpoint (i.e. not attached to a shape), a Shape or a Connector of a Shape. You can use the Shape.getConnector() method to fetch a Connector on the basis of its name. If a Shape is specified the Connection will attach to the "Auto" connector. /// /// Point: any Point on the canvas. This creates an unattached floating endpoint.; Shape: will bind the endpoint to the"Auto" Connector which will switch between the other connectors to minimize the length of the connection. or Connector: the connection's endpoint will remain fixed attached to the specified Connector.. If no source is specified the method will return the current object to which the Connection's endpoint is attached. /// the connection source. /// }, sourcePoint: function() { /// /// /// Gets the global coordinate of the connection's start (initial endpoint). The method returns a Point independently of the object to which the source is attached. /// /// the coordinates of the connection source. /// }, target: function(target) { /// /// /// Gets or set the target of the Connection.This object can be a Point for a floating endpoint (i.e. not attached to a shape), a Shape or a Connector of a Shape. You can use the Shape.getConnector() method to fetch a Connector on the basis of its name. If a Shape is specified the Connection will attach to the "Auto" connector. /// /// Point: any Point on the canvas. This creates an unattached floating endpoint.; Shape: will bind the endpoint to the"Auto" Connector which will switch between the other connectors to minimize the length of the connection. or Connector: the connection's endpoint will remain fixed attached to the specified Connector.. If no source is specified the method will return the current object to which the Connection's endpoint is attached. /// the connection target. /// }, targetPoint: function() { /// /// /// Similar to the sourcePoint, this gets the coordinates of the target of the Connection independently of its endpoint attachment. /// /// the coordinates of the connection target. /// }, select: function(value) { /// /// /// Select or deselects the Connection. /// /// True to select the Connection and false to deselect it. /// }, type: function(value) { /// /// /// Gets or sets the (sub-) type of the Connection which defines the way it routes.The routing of a connection is the way that intermediate points of a Connection defines a route. A route is usually defined on the basis of constraints or behaviors. Currently the framework defines a default polyline route (which simply connects the given intermediate points) and a simple rectangular (aka cascading) route. The cascading type is useful when using tree layout and hierarchies; the routed Connection will in this case enhance the representation of the hierarchy and thus reproduce a classic organization diagram. /// /// "Polyline" - connects the defined intermediate points. See the points() method. or "Cascading" - discards given points and defines a cascading path between the endpoints.. /// }, points: function() { /// /// /// Gets the intermediate points of the connection. /// /// the intermediate points of the connection. /// }, allPoints: function() { /// /// /// Gets all points of the Connection. This is the union of the endpoints and the intermediate points. /// /// all points of the connection. /// }, redraw: function(options) { /// /// /// Redraws the Connection with the given options. /// /// The new options for the connection. This object should follow the configuration structure. /// }, visible: function(visible) { /// /// /// Gets or sets the connection visible state. /// /// Indicates whether the connection should be visible in the Diagram. If skipped, the method will return the current visible state of the connection. /// }, 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.diagram, { Connector: function() { /// /// Constructor of kendo.dataviz.diagram.Connector /// } }); kendo.dataviz.diagram.Connector = (function() { var original = kendo.dataviz.diagram.Connector; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { position: function() { /// /// /// Gets the position of the Connector. /// /// the current position of the connector. /// }, 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.diagram, { Group: function() { /// /// Constructor of kendo.dataviz.diagram.Group /// } }); kendo.dataviz.diagram.Group = (function() { var original = kendo.dataviz.diagram.Group; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { append: function(element) { /// /// /// Appends the given element to the group /// /// The element to append. /// }, clear: function() { /// /// /// Removes all elements from the group. /// /// }, remove: function(element) { /// /// /// Removes the given element from the group /// /// The element to remove. /// }, position: function(offset) { /// /// /// Get or sets the element position. /// /// The origin of the element. /// }, rotate: function(angle,center) { /// /// /// Rotates the element with the specified parameters. /// /// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized. /// The center of rotation. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the current element. /// /// The new visibility state. /// True if the element is visible, false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.dataviz.diagram, { Image: function() { /// /// Constructor of kendo.dataviz.diagram.Image /// } }); kendo.dataviz.diagram.Image = (function() { var original = kendo.dataviz.diagram.Image; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { position: function(offset) { /// /// /// Get or sets the element position. /// /// The origin of the element. /// }, rotate: function(angle,center) { /// /// /// Rotates the element with the specified parameters. /// /// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized. /// The center of rotation. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the current element. /// /// The new visibility state. /// True if the element is visible, false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.dataviz.diagram, { Layout: function() { /// /// Constructor of kendo.dataviz.diagram.Layout /// } }); kendo.dataviz.diagram.Layout = (function() { var original = kendo.dataviz.diagram.Layout; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { append: function(element) { /// /// /// Appends the given element to the group /// /// The element to append. /// }, clear: function() { /// /// /// Removes all elements from the group. /// /// }, rect: function(rect) { /// /// /// Gets or sets the layout rectangle. /// /// The layout rectangle. /// The current rectangle. /// }, reflow: function() { /// /// /// Arranges the elements based on the current options. /// /// }, remove: function(element) { /// /// /// Removes the given element from the group /// /// The element to remove. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the current element. /// /// The new visibility state. /// True if the element is visible, false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.dataviz.diagram, { Line: function() { /// /// Constructor of kendo.dataviz.diagram.Line /// } }); kendo.dataviz.diagram.Line = (function() { var original = kendo.dataviz.diagram.Line; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { position: function(offset) { /// /// /// Get or sets the element position. /// /// The origin of the element. /// }, rotate: function(angle,center) { /// /// /// Rotates the element with the specified parameters. /// /// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized. /// The center of rotation. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the current element. /// /// The new visibility state. /// True if the element is visible, false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.dataviz.diagram, { Path: function() { /// /// Constructor of kendo.dataviz.diagram.Path /// } }); kendo.dataviz.diagram.Path = (function() { var original = kendo.dataviz.diagram.Path; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { data: function(path) { /// /// /// Gets or sets the SVG Path data. /// /// The new SVG path. /// The current SVG path. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the current element. /// /// The new visibility state. /// True if the element is visible, false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.dataviz.diagram, { Point: function() { /// /// Constructor of kendo.dataviz.diagram.Point /// } }); kendo.dataviz.diagram.Point = (function() { var original = kendo.dataviz.diagram.Point; 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.dataviz.diagram, { Polyline: function() { /// /// Constructor of kendo.dataviz.diagram.Polyline /// } }); kendo.dataviz.diagram.Polyline = (function() { var original = kendo.dataviz.diagram.Polyline; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { points: function(points) { /// /// /// Gets or sets the polyline points. /// /// The new points. /// The current points. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the current element. /// /// The new visibility state. /// True if the element is visible, false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.dataviz.diagram, { Rect: function() { /// /// Constructor of kendo.dataviz.diagram.Rect /// } }); kendo.dataviz.diagram.Rect = (function() { var original = kendo.dataviz.diagram.Rect; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { position: function(offset) { /// /// /// Get or sets the element position. /// /// The origin of the element. /// }, rotate: function(angle,center) { /// /// /// Rotates the element with the specified parameters. /// /// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized. /// The center of rotation. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the current element. /// /// The new visibility state. /// True if the element is visible, false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.dataviz.diagram, { Rectangle: function() { /// /// Constructor of kendo.dataviz.diagram.Rectangle /// } }); kendo.dataviz.diagram.Rectangle = (function() { var original = kendo.dataviz.diagram.Rectangle; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { visible: function(visible) { /// /// /// Gets or sets the visibility of the current element. /// /// The new visibility state. /// True if the element is visible, false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.dataviz.diagram, { Shape: function() { /// /// Constructor of kendo.dataviz.diagram.Shape /// } }); kendo.dataviz.diagram.Shape = (function() { var original = kendo.dataviz.diagram.Shape; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { position: function(point) { /// /// /// Get or set method returning the current global position or sets the position specified. /// /// Either the location to set or if no parameter given returns the current location. /// }, clone: function() { /// /// /// Returns a clone (with a different id) of the shape. /// /// A clone of the current shape. /// }, connections: function(type) { /// /// /// Returns the connections attached to the shape. You can optionally specify to return only the incoming or outgoing connections. /// /// If not parameter specified all connections are returned, if "in" then only the incoming (i.e. towards the shape) are returned, if "out" the only the outgoing (i.e. away from the shape) are returned. /// }, getConnector: function(name) { /// /// /// Fetches a (default or custom) Connector defined on the Shape by its name. /// /// The name of the connector to get from the shape. /// }, getPosition: function(side) { /// /// /// Returns the middle positions of the sides of the bounds or the center of the shape's bounds. This method is useful when defining custom connectors where a position function relative to the shape's coordinate system is required. /// /// One of the four sides of a bound; "left", "right", "top", "bottom". If none specified the center of the shape's bounds will be returned. /// }, redraw: function(options) { /// /// /// Renders the shape with the given options. It redefines the options and redraws the shape accordingly. /// /// The object containing a subset of options to change. Follows the same structure as the configuration. /// }, redrawVisual: function() { /// /// /// Redraws the shape visual element and its content /// /// }, select: function(value) { /// /// /// Selects or deselects the shape. /// /// Use 'true' to select the shape or 'false' to deselect it. /// }, visible: function(visible) { /// /// /// Gets or sets the shape visible state. /// /// Indicates whether the shape should be visible in the Diagram. If skipped, the method will return the current visible state of the shape. /// }, 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.diagram, { TextBlock: function() { /// /// Constructor of kendo.dataviz.diagram.TextBlock /// } }); kendo.dataviz.diagram.TextBlock = (function() { var original = kendo.dataviz.diagram.TextBlock; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { content: function(content) { /// /// /// Gets or sets the text block content. /// /// The new text content. /// the current text content. /// }, position: function(offset) { /// /// /// Get or sets the element position. /// /// The origin of the element. /// }, rotate: function(angle,center) { /// /// /// Rotates the element with the specified parameters. /// /// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized. /// The center of rotation. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the current element. /// /// The new visibility state. /// True if the element is visible, false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.dataviz.map, { BingLayer: function() { /// /// Constructor of kendo.dataviz.map.BingLayer /// } }); kendo.dataviz.map.BingLayer = (function() { var original = kendo.dataviz.map.BingLayer; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { show: function() { /// /// /// Shows the layer, if not visible. /// /// }, hide: function() { /// /// /// Hides the layer, if visible. /// /// }, imagerySet: function() { /// /// /// Sets the preferred imagery set for the map.Available imagery sets: * "aerial" - Aerial imagery. * "aerialWithLabels" - Aerial imagery with a road overlay. * "road" - Roads without additional imagery. /// /// }, 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.map, { Extent: function() { /// /// Constructor of kendo.dataviz.map.Extent /// } }); kendo.dataviz.map.Extent = (function() { var original = kendo.dataviz.map.Extent; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { contains: function(location) { /// /// /// Tests if a location is contained within the extent. /// /// The location to test for. /// true if the extent contains the location, false otherwise. /// }, containsAny: function(locations) { /// /// /// Tests if any of the locations is contained within the extent. /// /// An array of locations to test for. /// true if the extent contains any of the locations, false otherwise. /// }, center: function() { /// /// /// Returns the center of the extent. /// /// The extent center location. /// }, include: function(location) { /// /// /// Grows the extent, if required, to contain the specified location. /// /// The location to include in the extent. /// }, includeAll: function(locations) { /// /// /// Grows the extent, if required, to contain all specified locations. /// /// The locations to include in the extent. /// }, edges: function() { /// /// /// Returns the four extreme locations of the extent. /// /// An object with nw, ne, se and sw locations. /// }, toArray: function() { /// /// /// Returns the four extreme locations of the extent as an array. /// /// An array with [NW, NE, SE, SW] locations. /// }, overlaps: function(extent) { /// /// /// Tests if the given extent overlaps with this instance. /// /// The extent to test with. /// true if the extents overlap, false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.dataviz.map, { Layer: function() { /// /// Constructor of kendo.dataviz.map.Layer /// } }); kendo.dataviz.map.Layer = (function() { var original = kendo.dataviz.map.Layer; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { show: function() { /// /// /// Shows the layer, if not visible. /// /// }, hide: function() { /// /// /// Hides the layer, if visible. /// /// }, 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.map, { Location: function() { /// /// Constructor of kendo.dataviz.map.Location /// } }); kendo.dataviz.map.Location = (function() { var original = kendo.dataviz.map.Location; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { clone: function() { /// /// /// Creates a new instance with the same coordinates. /// /// The new Location instance. /// }, destination: function(destination,bearing) { /// /// /// Calculates the great-circle distance to the given destination in meters. /// /// The destination location. /// The bearing to the destination in decimal degrees. /// The distance to the specified location in meters. /// }, distanceTo: function(distance,bearing) { /// /// /// Finds a destination at the given distance and bearing from this location. /// /// The distance to the destination in meters. /// The initial bearing to the destination in decimal degrees. /// The destination at the given distance and bearing. /// }, equals: function(location) { /// /// /// Compares this location with another instance. /// /// The location to compare with. /// true if the location coordinates match; false otherwise. /// }, round: function(digits) { /// /// /// Rounds the location coordinates to the specified number of fractional digits. /// /// Number of fractional digits. /// The current Location instance. /// }, toArray: function() { /// /// /// Returns the location coordinates as an [lat, lng] array. /// /// An array representation of the location, e.g. [39, -179] /// }, toString: function() { /// /// /// Returns the location coordinates formatted as '{lat},{lng}'. /// /// A string representation of the location, e.g. "39,-179" /// }, wrap: function() { /// /// /// Wraps the latitude and longitude to fit into the [0, 90] and [0, 180] range. /// /// The current Location 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.dataviz.map, { Marker: function() { /// /// Constructor of kendo.dataviz.map.Marker /// } }); kendo.dataviz.map.Marker = (function() { var original = kendo.dataviz.map.Marker; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { location: function(location) { /// /// /// Gets or sets the Marker location. /// /// The marker location on the map. Coordinates are listed as [Latitude, Longitude]. /// The current location of the Marker /// }, 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.map, { MarkerLayer: function() { /// /// Constructor of kendo.dataviz.map.MarkerLayer /// } }); kendo.dataviz.map.MarkerLayer = (function() { var original = kendo.dataviz.map.MarkerLayer; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { add: function(marker) { /// /// /// Adds a Marker to the layer. /// /// The Marker instance to add. /// }, clear: function() { /// /// /// Clears all Markers from the layer. /// /// }, hide: function() { /// /// /// Hides the layer, if visible. /// /// }, remove: function(marker) { /// /// /// Removes a Marker from the layer. /// /// The Marker instance to remove. /// }, setDataSource: function(dataSource) { /// /// /// Sets the data source of this layer. /// /// A live DataSource instance or its configuration object. /// }, show: function() { /// /// /// Shows the layer, if not visible. /// /// }, 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.map, { ShapeLayer: function() { /// /// Constructor of kendo.dataviz.map.ShapeLayer /// } }); kendo.dataviz.map.ShapeLayer = (function() { var original = kendo.dataviz.map.ShapeLayer; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { show: function() { /// /// /// Shows the layer, if not visible. /// /// }, hide: function() { /// /// /// Hides the layer, if visible. /// /// }, setDataSource: function() { /// /// /// Sets the data source of this layer. /// /// }, 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.map, { TileLayer: function() { /// /// Constructor of kendo.dataviz.map.TileLayer /// } }); kendo.dataviz.map.TileLayer = (function() { var original = kendo.dataviz.map.TileLayer; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { show: function() { /// /// /// Shows the layer, if not visible. /// /// }, hide: function() { /// /// /// Hides the layer, if visible. /// /// }, 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, { ArcGauge: function() { /// /// Constructor of kendo.dataviz.ui.ArcGauge /// } }); kendo.dataviz.ui.ArcGauge = (function() { var original = kendo.dataviz.ui.ArcGauge; 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. /// /// }, exportImage: function(options) { /// /// /// Exports the Gauge as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI. /// /// Parameters for the exported image. /// A promise that will be resolved with a PNG image encoded as a Data URI. /// }, exportPDF: function(options) { /// /// /// Exports the Gauge as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI. /// /// Parameters for the exported PDF file. /// A promise that will be resolved with a PDF file encoded as a Data URI. /// }, exportSVG: function(options) { /// /// /// Exports the Gauge as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI. /// /// Export options. /// A promise that will be resolved with a SVG document encoded as a Data URI. /// }, redraw: function() { /// /// /// Redraws the gauge. /// /// }, resize: function(force) { /// /// /// Adjusts the widget layout to match the size of the container. /// /// Defines whether the widget should proceed with resizing even if the element dimensions have not changed. /// }, setOptions: function(options) { /// /// /// Sets the current gauge options. /// /// The gauge settings to update. /// }, 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 andImageMagick. 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() { /// /// /// Gets or sets 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.kendoArcGauge = function() { this.data("kendoArcGauge", new kendo.dataviz.ui.ArcGauge()); return this; }; intellisense.annotate(jQuery.fn, { getKendoArcGauge: function() { /// /// /// Returns a reference to the kendo.dataviz.ui.ArcGauge widget, instantiated on the selector. /// /// The kendo.dataviz.ui.ArcGauge instance (if present). /// }, kendoArcGauge: function(options) { /// /// /// Instantiates a kendo.dataviz.ui.ArcGauge widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// centerTemplate - String|Function /// The label template. Template variables: * value - the value /// /// color - String /// The color of the value pointer. Accepts a valid CSS color string, including hex and rgb. /// /// colors - Array /// The color ranges of the value pointer. The pointer color will be set to the color from the range that contains the current value. /// /// gaugeArea - Object /// The gauge area configuration options. This is the entire visible area of the gauge. /// /// opacity - Number /// The opacity of the value pointer. /// /// 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: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available.. /// /// scale - Object /// Configures the scale. /// /// theme - String /// The gauge theme. This can be either a built-in theme or "sass". When set to "sass" the gauge will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform". /// /// transitions - Boolean (default: true) /// A value indicating if transition animations should be played. /// /// value - Number /// The gauge value. /// /// /// /// The widget configuration options /// /// } }); 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, { exportImage: function(options) { /// /// /// Exports the barcode as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI. /// /// Parameters for the exported image. /// A promise that will be resolved with a PNG image encoded as a Data URI. /// }, exportPDF: function(options) { /// /// /// Exports the barcode as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI. /// /// Parameters for the exported PDF file. /// A promise that will be resolved with a PDF file encoded as a Data URI. /// }, exportSVG: function(options) { /// /// /// Exports the barcode as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI. /// /// Export options. /// A promise that will be resolved with a SVG document encoded as a Data URI. /// }, 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. /// /// }, resize: function(force) { /// /// /// Adjusts the widget layout to match the size of the container. /// /// Defines whether the widget should proceed with resizing even if the element dimensions have not changed. /// }, 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 andImageMagick. 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: "svg") /// 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: "canvas" - renders the widget as a Canvas element, if available. or "svg" - renders the widget as inline SVG document, if available. /// /// 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 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: EAN8; EAN13; UPCE; UPCA; Code11; Code39; Code39Extended; Code93; Code93Extended; Code128; Code128A; Code128B; Code128C; GS1-128; MSImod10; MSImod11; MSImod1010; MSImod1110 or POSTNET. /// /// 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. /// /// }, exportImage: function(options) { /// /// /// Exports the chart as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI. /// /// Parameters for the exported image. /// A promise that will be resolved with a PNG image encoded as a Data URI. /// }, exportPDF: function(options) { /// /// /// Exports the chart as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI. /// /// Parameters for the exported PDF file. /// A promise that will be resolved with a PDF file encoded as a Data URI. /// }, exportSVG: function(options) { /// /// /// Exports the chart as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI. /// /// Export options. /// A promise that will be resolved with a SVG document encoded as a Data URI. /// }, findAxisByName: function(name) { /// /// /// An alias for the existing getAxis method. /// /// The axis name. /// The chart axis. /// }, findPaneByIndex: function(index) { /// /// /// Returns a pane with specific index. /// /// The pane index. /// The chart pane. /// }, findPaneByName: function(name) { /// /// /// Returns a pane with specific name. /// /// The pane name. /// The chart pane. /// }, findSeries: function(callback) { /// /// /// Returns a series determined from the passed function. The function is called with the options of each series until it returns true. /// /// The function that will be called for each series. /// The chart series. /// }, findSeriesByIndex: function(index) { /// /// /// Returns a series with specific index. /// /// The series index. /// The chart series. /// }, findSeriesByName: function(name) { /// /// /// Returns a series with specific name. /// /// The series name. /// The chart series. /// }, getAxis: function(name) { /// /// /// Returns an axis with specific name. /// /// The axis name. /// The chart axis. /// }, hideTooltip: function() { /// /// /// Hides the chart tooltip. /// /// }, plotArea: function() { /// /// /// Returns the chart plotArea. /// /// The chart plot area. /// }, redraw: function() { /// /// /// Repaints the chart using the currently loaded data. /// /// }, refresh: function() { /// /// /// Reloads the data and renders the chart. /// /// }, resize: function(force) { /// /// /// Adjusts the chart layout to match the size of the container. /// /// Defines whether the widget should proceed with resizing even if the element dimensions have not changed. /// }, saveAsPDF: function() { /// /// /// Saves the Chart as a PDF file using the options specified in options.pdf. /// /// }, 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. /// }, showTooltip: function(filter) { /// /// /// Shows the chart tooltip for specific point or the shared tooltip for specific category. The method accepts a function which will be called for each point until the function returns true. /// /// The callback function which will be called for the points or the category value for a shared tooltip. /// }, 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 andImageMagick. 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. /// }, toggleHighlight: function(show,options) { /// /// /// Toggles the highlight of the series points or a segment for pie, donut and funnel charts. /// /// A boolean value that specifies if the highlight should be shown or hidden. /// A string representing the series name or the category name or an object with the series and category names or a function which will be called for each point. The fields available in the function argument are: category - the point category.; dataItem - the point dataItem.; value - the point value.; series - the point series.; percentage - the point value represented as a percentage value. Available only for donut, pie and 100% stacked charts.; runningTotal - the sum of point values since the last "runningTotal" summary point. Available for waterfall series. or total - the sum of all previous series values. Available for waterfall series.. /// }, 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|kendo.data.DataSource /// 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. /// /// pannable - Boolean (default: false) /// Specifies if the chart can be panned. /// /// pannable - Object (default: false) /// Specifies if the chart can be panned. /// /// pdf - Object /// Configures the export settings for the saveAsPDF method. /// /// persistSeriesVisibility - Boolean (default: false) /// Specifies if the series visible option should be persisted when changing the dataSource data. /// /// 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: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available.. /// /// 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. This can be either a built-in theme or "sass". When set to "sass" the chart will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform". /// /// 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|Object /// 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. /// /// zoomable - Boolean (default: false) /// Specifies if the chart can be zoomed. /// /// zoomable - Object (default: false) /// Specifies if the chart can be zoomed. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.dataviz.ui, { Diagram: function() { /// /// Constructor of kendo.dataviz.ui.Diagram /// } }); kendo.dataviz.ui.Diagram = (function() { var original = kendo.dataviz.ui.Diagram; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { addConnection: function(connection,undoable) { /// /// /// Adds the given Connection to the diagram. /// /// The Connection instance to be added to the diagram. /// Whether the addition should be recorded in the undo-redo stack. /// }, addShape: function(obj,undoable) { /// /// /// Adds a new shape to the diagram. /// /// A Shape instance or a Point where the default shape type will be added. /// Whether the addition should be recorded in the undo-redo stack. /// The newly created diagram shape. /// }, alignShapes: function(direction) { /// /// /// Aligns the edges (as defined by the bounding box) of the selected shapes. /// /// This can be one of the four supported directions: "left"; "right"; "top" or "bottom". /// }, boundingBox: function(items) { /// /// /// /// /// The items (shapes and connections) to include in the bounding box. Defaults to all items if not specified. /// The bounding rectangle of the specified items. If nothing is specified the bounding box of the all diagram will be returned. /// }, bringIntoView: function(obj,options) { /// /// /// Brings one or more items into the view in function of various criteria. /// /// a diagram item; an array of items or a rectangle: this defines a window which the view should contain. /// animate or align. /// }, cancelEdit: function() { /// /// /// Cancels edit and close the popup form. /// /// }, clear: function() { /// /// /// Clears the content of the diagram. /// /// }, connect: function(source,target,options) { /// /// /// Creates a connection which can be either attached on both ends to a shape, half attached or floating (not attached to any shape). When a connection is (half) attached to a shape it happens through the intermediate Connector object. Connectors are part of a Shape's definition and you can specify the binding of a connection to a shape directly via the shape or via one of its connectors. If you specify a Shape as a connection's endpoint the Auto-connector will be used. This means that the endpoint of the connection will switch to the most convenient (in the sense of shortest path) connector automatically. If you specify a shape's connector as an endpoint for a connection the endpoint will remain attached to that given Connector instance. Finally, if you wish to have a (half) floating connection endpoint you should specify a Point as parameter for the floating end. /// /// The source definition of the connection. This can be a Shape, a Connector or a Point. /// The target definition of the connection. This can be a Shape, a Connector or a Point. /// The options of the new connection. See connections options. /// }, connected: function(source,target) { /// /// /// Returns whether the two given shapes are connected through a connection. /// /// A Shape in the diagram. /// A Shape in the diagram. /// }, copy: function() { /// /// /// Puts a copy of the currently selected diagram to an internal clipboard. /// /// }, createConnection: function() { /// /// /// Adds an empty connection data item and a popup window will be displayed. /// /// }, createShape: function() { /// /// /// Adds an empty shape data item and a popup window will be displayed. /// /// }, cut: function() { /// /// /// Cuts the currently selected diagram items to an internal clipboard. /// /// }, 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. /// /// }, documentToModel: function(point) { /// /// /// Transforms a point from Page document coordinates to Model coordinates. Shortcut for viewToModel(documentToView(point)). This method is useful when you want to transform coordinates of a drag operation on top of the Diagram. /// /// The point in Page document coordinates. /// the transformed point /// }, documentToView: function(point) { /// /// /// Transforms a point from Page document coordinates to View coordinates. View coordinates are relative to the currently visible portion of the Diagram. /// /// The point in Page document coordinates. /// the transformed point /// }, edit: function(item) { /// /// /// Edit diagram connection/shape. /// /// A diagram item to edit. /// }, exportImage: function(options) { /// /// /// Exports the diagram content as an image. The result can be saved using kendo.saveAs.The full content of the diagram will be exported in 1:1 scale. If exporting the current view is desired then the kendo.drawing.drawDOM method should be called on a container element.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI. /// /// Parameters for the exported image. /// A promise that will be resolved with a PNG image encoded as a Data URI. /// }, exportPDF: function(options) { /// /// /// Exports the diagram content as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI. /// /// Parameters for the exported PDF file. /// A promise that will be resolved with a PDF file encoded as a Data URI. /// }, exportSVG: function(options) { /// /// /// Exports the diagram content as an SVG document. The result can be saved using kendo.saveAs.The full content of the diagram will be exported in 1:1 scale. If exporting the current view is desired then the kendo.drawing.drawDOM method should be called on a container element.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI. /// /// Export options. /// A promise that will be resolved with a SVG document encoded as a Data URI. /// }, focus: function() { /// /// /// Sets the focus on the diagram. /// /// }, getConnectionByModelId: function(id) { /// /// /// Returns the connection corresponding to the model with the specified id value. /// /// The model id value. /// the connection corresponding to the model. /// }, getConnectionByModelUid: function(uid) { /// /// /// Returns the connection corresponding to the model with the specified uid value. /// /// The model uid value. /// the connection corresponding to the model. /// }, getShapeById: function(id) { /// /// /// Returns the shape or connection with the specified identifier. /// /// The unique identifier of the Shape or Connection /// the item that has the provided ID. /// }, getShapeByModelId: function(id) { /// /// /// Returns the shape corresponding to the model with the specified id value. /// /// The model id value. /// the shape corresponding to the model. /// }, getShapeByModelUid: function(uid) { /// /// /// Returns the shape corresponding to the model with the specified uid value. /// /// The model uid value. /// the shape corresponding to the model. /// }, layerToModel: function(point) { /// /// /// Transforms a point from Layer coordinates to Model coordinates. Layer coordinates are relative to the drawable surface. /// /// The point in layer coordinates. /// the transformed point /// }, layout: function(options) { /// /// /// Applies a layout algorithm on the current diagram.A more detailed overview of layout and graph analysis can be found below. /// /// The layout options. See options.layout for a full reference. /// }, load: function(json) { /// /// /// Loads a saved diagram. /// /// The serialized Diagram options to load. /// }, modelToDocument: function(point) { /// /// /// Transforms a point from Model coordinates to Page document coordinates. Shortcut for viewToDocument(modelToView(point)). /// /// The point in Model coordinates. /// the transformed point /// }, modelToLayer: function(point) { /// /// /// Transforms a point from Model coordinates to Layer coordinates. Layer coordinates are relative to the drawing surface. /// /// The point in Model coordinates. /// the transformed point /// }, modelToView: function(point) { /// /// /// Transforms a point from Model coordinates to View coordinates. Model coordinates are independent coordinates to define Shape bounds. View coordinates are relative to the currently visible part of the drawing surface. /// /// The point in Model coordinates. /// the transformed point /// }, pan: function(pan) { /// /// /// Pans the diagram with a specified delta (represented as a Point). /// /// The translation delta to apply to the diagram or the Point to pan to. /// }, paste: function() { /// /// /// Pastes the content of the internal diagram clipboard. /// /// }, redo: function() { /// /// /// Executes again the previously undone action. /// /// }, remove: function(items,undoable) { /// /// /// Removes one or more items from the diagram /// /// A diagram item or an array of diagram items to remove. /// Whether the removal should be recorded in the undo-redo stack. /// }, resize: function() { /// /// /// Adjusts the diagram size to match the size of the container. /// /// }, save: function() { /// /// /// Returns the complete Diagram configuration in JSON format. /// /// An options object containing the complete Diagram configuration. /// }, saveAsPDF: function() { /// /// /// Saves the diagram content as PDF document. /// /// A promise that will be resolved when the export completes. /// }, saveEdit: function() { /// /// /// Saves any changes made by the user. /// /// }, select: function(elements,options) { /// /// /// Gets or sets the selected elements. /// /// The diagram element(s) that should be selected. /// /// The selected diagram elements. /// }, selectAll: function() { /// /// /// Selects all shapes and the connections between them (without the point-to-point connections). /// /// }, selectArea: function(rect) { /// /// /// Selects all diagram elements within the given rectangle. /// /// The rectangle that determines which elements should be selected. /// }, setConnectionsDataSource: function(dataSource) { /// /// /// Sets the connections data source of the diagram. /// /// The data source to which the widget should be bound. /// }, setDataSource: function(dataSource) { /// /// /// Sets the data source of the diagram. /// /// The data source to which the widget should be bound. /// }, toBack: function(items,undoable) { /// /// /// Sends the specified items to the back, i.e. it's reordering items to ensure they are underneath the complementary items. /// /// An array of diagram items. /// Whether the change should be recorded in the undo-redo stack. /// }, toFront: function(items,undoable) { /// /// /// Brings the specified items in front, i.e. it's reordering items to ensure they are on top of the complementary items. /// /// An array of diagram items. /// Whether the change should be recorded in the undo-redo stack. /// }, undo: function() { /// /// /// Undoes the previous action. /// /// }, viewToDocument: function(point) { /// /// /// Transforms a point from View coordinates to Page document coordinates. View origin is the diagram container. /// /// The point in Page document coordinates. /// the transformed point /// }, viewToModel: function(point) { /// /// /// Transforms a point from View coordinates to Model coordinates. Model coordinates are independent coordinates to define Shape bounds. /// /// The point in View coordinates. /// the transformed point /// }, viewport: function() { /// /// /// The bounds of the diagramming canvas. /// /// as viewport bounds /// }, zoom: function(zoom,point) { /// /// /// Gets or sets the current zoom level of the diagram. /// /// The zoom factor. /// The point to zoom into or out of. /// The current zoom level /// }, 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.kendoDiagram = function() { this.data("kendoDiagram", new kendo.dataviz.ui.Diagram()); return this; }; intellisense.annotate(jQuery.fn, { getKendoDiagram: function() { /// /// /// Returns a reference to the kendo.dataviz.ui.Diagram widget, instantiated on the selector. /// /// The kendo.dataviz.ui.Diagram instance (if present). /// }, kendoDiagram: function(options) { /// /// /// Instantiates a kendo.dataviz.ui.Diagram 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. /// /// connectionDefaults - Object /// Defines the defaults of the connections. Whenever a connection is created, the specified connectionDefaults will be used and merged with the (optional) configuration passed through the connection creation method. /// /// connections - Array /// Defines the connections configuration. /// /// connectionsDataSource - Object|Array|kendo.data.DataSource /// Defines the data source of the connections. /// /// dataSource - Object|Array|kendo.data.DataSource /// Defines the data source of the diagram. /// /// editable - Boolean (default: true) /// A set of settings to configure the Diagram behavior when the user attempts to: edit, delete or create shapes and connections.; drag shapes.; resize shapes. or rotate shapes.. /// /// editable - Object (default: true) /// A set of settings to configure the Diagram behavior when the user attempts to: edit, delete or create shapes and connections.; drag shapes.; resize shapes. or rotate shapes.. /// /// layout - Object /// The layout of a diagram consists in arranging the shapes (sometimes also the connections) in some fashion in order to achieve an aesthetically pleasing experience to the user. It aims at giving a more direct insight in the information contained within the diagram and its relational structure.On a technical level, layout consists of a multitude of algorithms and optimizations: analysis of the relational structure (loops, multi-edge occurrence...); connectedness of the diagram and the splitting into disconnected components; crossings of connections or bends and length of links. and various ad-hoc calculations which depend on the type of layout. The criteria on which an algorithm is based vary but the common denominator is: a clean separation of connected components (subgraphs); an orderly organization of the shapes in such a way that siblings are close to another, i.e. a tight packing of shapes which belong together (parent of child relationship) or a minimum of connection crossings. Kendo diagram includes three of the most used layout algorithms which should cover most of your layout needs - tree layout, force-directed layout and layered layout. Please, check the type property for more details regarding each type.The generic way to apply a layout is by calling the layout() method on the diagram. The method has a single parameter options. It is an object, which can contain parameters which are specific to the layout as well as parameters customizing the global grid layout. Parameters which apply to other layout algorithms can be included but are overlooked if not applicable to the chose layout type. This means that you can define a set of parameters which cover all possible layout types and simply pass it in the method whatever the layout define in the first parameter. /// /// pannable - Boolean (default: true) /// Defines the pannable options. Use this setting to disable Diagram pan or change the key that activates the pan behavior. /// /// pannable - Object (default: true) /// Defines the pannable options. Use this setting to disable Diagram pan or change the key that activates the pan behavior. /// /// pdf - Object /// Configures the export settings for the saveAsPDF method. /// /// selectable - Boolean (default: true) /// Defines the Diagram selection options.By default, you can select shapes in the Diagram in one of two ways: Clicking a single shape to select it and deselect any previously selected shapes. or Holding the Ctrl key while clicking multiple shapes to select them and any other shapes between them.. Using the selectable configuration, you can enable single selection only, enable selection by drawing a rectangular area with the mouse around shapes in the canvas, or disable selection altogether. /// /// selectable - Object (default: true) /// Defines the Diagram selection options.By default, you can select shapes in the Diagram in one of two ways: Clicking a single shape to select it and deselect any previously selected shapes. or Holding the Ctrl key while clicking multiple shapes to select them and any other shapes between them.. Using the selectable configuration, you can enable single selection only, enable selection by drawing a rectangular area with the mouse around shapes in the canvas, or disable selection altogether. /// /// shapeDefaults - Object /// Defines the default options that will be applied to all shapes in the Diagram. /// /// shapes - Array /// Defines the shape options. /// /// template - String|Function (default: "") /// The template which renders the content of the shape when bound to a dataSource. The names you can use in the template correspond to the properties used in the dataSource. For an example, refer to the dataSource topic below. /// /// theme - String /// The diagram theme. This can be either a built-in theme or "sass". When set to "sass" the diagram will read the variables from a Sass-based theme.The supported values are: * "sass" - works only when a custom Sass theme is loaded in the page * "black" * "blueopal" * "bootstrap" * "bootstrap-v4" - works only with the Bootstrap-v4 Sass theme loaded in the page * "default" * "default-v2" - works only with the Default-v2 Sass theme loaded in the page * "fiori" * "flat" * "highcontrast" * "material" * "materialBlack" * "metro" * "metroblack" * "moonlight" * "nova" * "office365" * "silver" * "uniform" /// /// zoom - Number (default: 1) /// The default zoom level of the Diagram in percentages. /// /// zoomMax - Number (default: 2) /// The maximum zoom level in percentages. The user will not be allowed to zoom in past this level. /// /// zoomMin - Number (default: 0.1) /// The minimum zoom level in percentages. The user will not be allowed to zoom out past this level. You can see an example in zoomMax. /// /// zoomRate - Number (default: 0.1) /// The zoom step when using the mouse-wheel to zoom in or out. /// /// /// /// 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, { allValues: function(values) { /// /// /// Allows setting or getting multiple Gauge values at once. /// /// An array of values to be set. /// An array of the Gauge pointer values will be returned if no parameter is passed. /// }, destroy: function() { /// /// /// Prepares the Gauge for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks. /// /// }, exportImage: function(options) { /// /// /// Exports the Gauge as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI. /// /// Parameters for the exported image. /// A promise that will be resolved with a PNG image encoded as a Data URI. /// }, exportPDF: function(options) { /// /// /// Exports the Gauge as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI. /// /// Parameters for the exported PDF file. /// A promise that will be resolved with a PDF file encoded as a Data URI. /// }, exportSVG: function(options) { /// /// /// Exports the Gauge as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI. /// /// Export options. /// A promise that will be resolved with a SVG document encoded as a Data URI. /// }, redraw: function() { /// /// /// Redraws the gauge. /// /// }, resize: function(force) { /// /// /// Adjusts the widget layout to match the size of the container. /// /// Defines whether the widget should proceed with resizing even if the element dimensions have not changed. /// }, setOptions: function(options) { /// /// /// Sets the current gauge options. /// /// The gauge settings to update. /// }, 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 andImageMagick. 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 - Array /// The pointer configuration options. It accepts an Array of pointers, each with it's own 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: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available.. /// /// scale - Object /// Configures the scale. /// /// theme - String /// The gauge theme. This can be either a built-in theme or "sass". When set to "sass" the chart will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform". /// /// 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, { center: function(center) { /// /// /// Gets or sets the map center. The setter is chainable, i.e. returns the map instance. /// /// The location of the new map center. An array argument is assumed to be in [Latitude, Longitude] order. /// The current map center. /// }, 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. /// /// }, eventOffset: function(e) { /// /// /// Returns the event coordinates relative to the map element. Offset coordinates are not synchronized to a particular location on the map. /// /// The DOM or jQuery mouse event. /// The event coordinates relative to the map element. /// }, eventToLayer: function(e) { /// /// /// Retrieves projected (layer) coordinates that correspond to this mouse event. Layer coordinates are absolute and change only when the zoom level is changed. /// /// The DOM or jQuery mouse event. /// The projected (layer) coordinates that correspond to this mouse event. /// }, eventToLocation: function(e) { /// /// /// Retrieves the geographic location that correspond to this mouse event. /// /// The DOM or jQuery mouse event. /// The geographic location that correspond to this mouse event. /// }, eventToView: function(e) { /// /// /// Retrieves relative (view) coordinates that correspond to this mouse event. Layer elements positioned on these coordinates will appear under the mouse cursor.View coordinates are no longer valid after a map reset. /// /// The DOM or jQuery mouse event. /// The relative (view) coordinates that correspond to this mouse event. /// }, extent: function(extent) { /// /// /// Gets or sets the map extent or visible area. The setter is chainable, i.e. returns the map instance. /// /// The new extent of the map. /// The current map extent. /// }, layerToLocation: function(point,zoom) { /// /// /// Transforms layer (projected) coordinates to geographical location. /// /// The layer (projected) coordinates. An array argument is assumed to be in x, y order. /// Optional. Assumed zoom level. Defaults to the current zoom level. /// The geographic location that corresponds to the layer coordinates. /// }, locationToLayer: function(location,zoom) { /// /// /// Returns the layer (projected) coordinates that correspond to a geographical location. /// /// The geographic location. An array argument is assumed to be in [Latitude, Longitude] order. /// Optional. Assumed zoom level. Defaults to the current zoom level. /// The layer (projected) coordinates. /// }, locationToView: function(location) { /// /// /// Returns the view (relative) coordinates that correspond to a geographical location. /// /// The geographic location. An array argument is assumed to be in [Latitude, Longitude] order. /// The view coordinates that correspond to a geographical location. /// }, resize: function(force) { /// /// /// Adjusts the widget layout to match the size of the container. /// /// Defines whether the widget should proceed with resizing even if the element dimensions have not changed. /// }, setOptions: function(options) { /// /// /// Resets the map and applies new options over the current state. /// /// The new options to be applied. /// }, viewSize: function() { /// /// /// Retrieves the size of the visible portion of the map. /// /// The size (width and height) of the visible portion of the map. /// }, viewToLocation: function(point,zoom) { /// /// /// Returns the geographical location that correspond to the view (relative) coordinates. /// /// The view coordinates. An array argument is assumed to be in x, y order. /// Optional. Assumed zoom level. Defaults to the current zoom level. /// The geographic location that corresponds to the view coordinates. /// }, zoom: function(level) { /// /// /// Gets or sets the map zoom level. The setter is chainable, i.e. returns the map instance. /// /// The new zoom level. The value is clamped to the [minZoom, maxZoom] interval. /// The current zoom level. /// }, 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|kendo.dataviz.map.Location /// 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: 1) /// The minimum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features). /// /// maxZoom - Number (default: 19) /// The maximum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features). /// /// minSize - Number (default: 256) /// The size of the map in pixels at zoom level 0. /// /// pannable - Boolean (default: true) /// Controls whether the user can pan the map. /// /// 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 /// /// zoomable - Boolean (default: true) /// Controls whether the map zoom level can be changed by the user. /// /// /// /// 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. /// /// }, exportImage: function(options) { /// /// /// Exports the QRCode as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI. /// /// Parameters for the exported image. /// A promise that will be resolved with a PNG image encoded as a Data URI. /// }, exportPDF: function(options) { /// /// /// Exports the QRCode as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI. /// /// Parameters for the exported PDF file. /// A promise that will be resolved with a PDF file encoded as a Data URI. /// }, exportSVG: function(options) { /// /// /// Exports the QRCode as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI. /// /// Export options. /// A promise that will be resolved with a SVG document encoded as a Data URI. /// }, 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. /// /// }, resize: function(force) { /// /// /// Adjusts the widget layout to match the size of the container. /// /// Defines whether the widget should proceed with resizing even if the element dimensions have not changed. /// }, 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 andImageMagick. 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: "ISO_8859_1" - supports all characters from the ISO/IEC 8859-1 character set. or "UTF_8" - supports all Unicode characters.. /// /// errorCorrection - String (default: "L") /// The error correction level used to encode the value.The possible values are: "L" - approximately 7% of the codewords can be restored.; "M" - approximately 15% of the codewords can be restored.; "Q" - approximately 25% of the codewords can be restored. or "H" - approximately 30% of the codewords can be restored.. /// /// padding - Number (default: 0) /// Sets the minimum distance in pixels that should be left between the border and the QR modules. /// /// renderAs - String (default: "svg") /// 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: "canvas" - renders the widget as a Canvas element, if available. or "svg" - renders the widget as inline SVG document, if available. /// /// 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 has width or height of 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, { allValues: function(values) { /// /// /// Allows setting or getting multiple Gauge values at once. /// /// An array of values to be set. /// An array of the Gauge pointer values will be returned if no parameter is passed. /// }, destroy: function() { /// /// /// Prepares the Gauge for safe removal from the DOM.Detaches event handlers and removes data entries in order to avoid memory leaks. /// /// }, exportImage: function(options) { /// /// /// Exports the Gauge as an image. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PNG image encoded as a Data URI. /// /// Parameters for the exported image. /// A promise that will be resolved with a PNG image encoded as a Data URI. /// }, exportPDF: function(options) { /// /// /// Exports the Gauge as a PDF file. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a PDF file encoded as a Data URI. /// /// Parameters for the exported PDF file. /// A promise that will be resolved with a PDF file encoded as a Data URI. /// }, exportSVG: function(options) { /// /// /// Exports the Gauge as an SVG document. The result can be saved using kendo.saveAs.The export operation is asynchronous and returns a promise. The promise will be resolved with a SVG document encoded as a Data URI. /// /// Export options. /// A promise that will be resolved with a SVG document encoded as a Data URI. /// }, redraw: function() { /// /// /// Redraws the gauge. /// /// }, resize: function(force) { /// /// /// Adjusts the widget layout to match the size of the container. /// /// Defines whether the widget should proceed with resizing even if the element dimensions have not changed. /// }, setOptions: function(options) { /// /// /// Sets the current gauge options. /// /// The gauge settings to update. /// }, 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 andImageMagick. 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 - Array /// The pointer configuration options. It accepts an Array of pointers, each with it's own 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: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available.. /// /// scale - Object /// Configures the scale. /// /// theme - String /// The gauge theme. This can be either a built-in theme or "sass". When set to "sass" the chart will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform". /// /// 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. /// /// }, exportImage: function(options) { /// /// /// Exports the chart as an image.Inherited from Chart.exportImage /// /// Parameters for the exported image. /// A promise that will be resolved with a PNG image encoded as a Data URI. /// }, exportPDF: function(options) { /// /// /// Exports the chart as a PDF file.Inherited from Chart.exportPDF /// /// Parameters for the exported PDF file. /// A promise that will be resolved with a PDF file encoded as a Data URI. /// }, exportSVG: function(options) { /// /// /// Exports the chart as an SVG document.Inherited from Chart.exportSVG /// /// Export options. /// A promise that will be resolved with a SVG document encoded as a Data URI. /// }, 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 andImageMagick. 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 discarded 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: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available.. /// /// 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 /// The sparkline theme. This can be either a built-in theme or "sass". When set to "sass" the sparkline will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform". /// /// 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. /// /// }, exportImage: function(options) { /// /// /// Exports the chart as an image.Inherited from Chart.exportImage /// /// Parameters for the exported image. /// A promise that will be resolved with a PNG image encoded as a Data URI. /// }, exportPDF: function(options) { /// /// /// Exports the chart as a PDF file.Inherited from Chart.exportPDF /// /// Parameters for the exported PDF file. /// A promise that will be resolved with a PDF file encoded as a Data URI. /// }, exportSVG: function(options) { /// /// /// Exports the chart as an SVG document.Inherited from Chart.exportSVG /// /// Export options. /// A promise that will be resolved with a SVG document encoded as a Data URI. /// }, redraw: function() { /// /// /// Repaints the chart using the currently loaded data. /// /// }, refresh: function() { /// /// /// Reloads the data and renders the chart. /// /// }, resize: function(force) { /// /// /// Adjusts the chart layout to match the size of the container. /// /// Defines whether the widget should proceed with resizing even if the element dimensions have not changed. /// }, 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 andImageMagick. 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: Date instance; String parsable by new Date([field value]) or String in ASP.NET JSON format, i.e. "\/Date(1320825600000-0800)\/". /// /// 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. /// /// pdf - Object /// Configures the export settings for the saveAsPDF method. /// /// persistSeriesVisibility - Boolean (default: true) /// Specifies if the series visible option should be persisted when changing the dataSource data. /// /// 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: "svg" - renders the widget as inline SVG document, if available or "canvas" - renders the widget as a Canvas element, if available.. /// /// 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 /// The chart theme. This can be either a built-in theme or "sass". When set to "sass" the chart will read the variables from the Sass-based themes.The supported values are: "sass" - special value, see notes; "black"; "blueopal"; "bootstrap"; "default"; "highcontrast"; "metro"; "metroblack"; "moonlight"; "silver" or "uniform". /// /// 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.dataviz.ui, { TreeMap: function() { /// /// Constructor of kendo.dataviz.ui.TreeMap /// } }); kendo.dataviz.ui.TreeMap = (function() { var original = kendo.dataviz.ui.TreeMap; 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.kendoTreeMap = function() { this.data("kendoTreeMap", new kendo.dataviz.ui.TreeMap()); return this; }; intellisense.annotate(jQuery.fn, { getKendoTreeMap: function() { /// /// /// Returns a reference to the kendo.dataviz.ui.TreeMap widget, instantiated on the selector. /// /// The kendo.dataviz.ui.TreeMap instance (if present). /// }, kendoTreeMap: function(options) { /// /// /// Instantiates a kendo.dataviz.ui.TreeMap widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// dataSource - Object|Array|kendo.data.HierarchicalDataSource /// The data source of the treeMap which is used to display the tiles and titles. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.HierarchicalDataSource instance.If the HierarchicalDataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.HierarchicalDataSource instance using that value as data source configuration.If the HierarchicalDataSource option is an existing kendo.data.HierarchicalDataSource instance the widget will use that instance and will not initialize a new one. /// /// 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. /// /// type - String (default: "squarified") /// The layout type for the TreeMap.The Supported values are: squarified; horizontal or vertical. /// /// theme - String (default: "default") /// The theme of the TreeMap. /// /// valueField - String (default: "value") /// The data item field which contains the tile value. /// /// colorField - String (default: "color") /// The data item field which contains the tile color. /// /// textField - String (default: "text") /// The data item field which contains the tile title. /// /// template - String|Function /// The template which renders the treeMap tile content.The fields which can be used in the template are: dataItem - the original data item used to construct the point. or text - the original tile text.. /// /// colors - Array /// The default colors for the TreeMap items (tiles). Can be set to array of specific colors or array of color ranges. For more information on the widget behavior, see the Colors section on the TreeMap Overview page. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.drawing, { Arc: function() { /// /// Constructor of kendo.drawing.Arc /// } }); kendo.drawing.Arc = (function() { var original = kendo.drawing.Arc; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { bbox: function() { /// /// /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox /// /// The bounding box of the element with transformations applied. /// }, clip: function(clip) { /// /// /// Gets or sets the element clipping path. Inherited from Element.clip /// /// The element clipping path. /// The current element clipping path. /// }, clippedBBox: function() { /// /// /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox /// /// The bounding box of the element with clipping transformations applied. /// }, containsPoint: function(point) { /// /// /// Returns true if the shape contains the specified point. /// /// The point that should be checked. /// value indicating if the shape contains the point. /// }, geometry: function(value) { /// /// /// Gets or sets the arc geometry. /// /// The new geometry to use. /// The current arc geometry. /// }, fill: function(color,opacity) { /// /// /// Sets the shape fill. /// /// The fill color to set. /// The fill opacity to set. /// The current instance to allow chaining. /// }, opacity: function(opacity) { /// /// /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity. /// /// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque). /// The current element opacity. /// }, stroke: function(color,width,opacity) { /// /// /// Sets the shape stroke. /// /// The stroke color to set. /// The stroke width to set. /// The stroke opacity to set. /// The current instance to allow chaining. /// }, transform: function(transform) { /// /// /// Gets or sets the transformation of the element. Inherited from Element.transform /// /// The transformation to apply to the element. /// The current transformation on the element. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the element. Inherited from Element.visible /// /// A flag indicating if the element should be visible. /// true if the element is visible; false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.drawing, { Circle: function() { /// /// Constructor of kendo.drawing.Circle /// } }); kendo.drawing.Circle = (function() { var original = kendo.drawing.Circle; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { bbox: function() { /// /// /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox /// /// The bounding box of the element with transformations applied. /// }, clip: function(clip) { /// /// /// Gets or sets the element clipping path. Inherited from Element.clip /// /// The element clipping path. /// The current element clipping path. /// }, clippedBBox: function() { /// /// /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox /// /// The bounding box of the element with clipping transformations applied. /// }, containsPoint: function(point) { /// /// /// Returns true if the shape contains the specified point. /// /// The point that should be checked. /// value indicating if the shape contains the point. /// }, geometry: function(value) { /// /// /// Gets or sets the circle geometry. /// /// The new geometry to use. /// The current circle geometry. /// }, fill: function(color,opacity) { /// /// /// Sets the shape fill. /// /// The fill color to set. /// The fill opacity to set. /// The current instance to allow chaining. /// }, opacity: function(opacity) { /// /// /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity. /// /// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque). /// The current element opacity. /// }, stroke: function(color,width,opacity) { /// /// /// Sets the shape stroke. /// /// The stroke color to set. /// The stroke width to set. /// The stroke opacity to set. /// The current instance to allow chaining. /// }, transform: function(transform) { /// /// /// Gets or sets the transformation of the element. Inherited from Element.transform /// /// The transformation to apply to the element. /// The current transformation on the element. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the element. Inherited from Element.visible /// /// A flag indicating if the element should be visible. /// true if the element is visible; false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.drawing, { Element: function() { /// /// Constructor of kendo.drawing.Element /// } }); kendo.drawing.Element = (function() { var original = kendo.drawing.Element; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { bbox: function() { /// /// /// Returns the bounding box of the element with transformations applied. /// /// The bounding box of the element with transformations applied. /// }, clip: function(clip) { /// /// /// Gets or sets the element clipping path. /// /// The element clipping path. /// The current element clipping path. /// }, clippedBBox: function() { /// /// /// Returns the bounding box of the element with clipping and transformations applied.This is the rectangle that will fit around the actual rendered element. /// /// The bounding box of the element with clipping and transformations applied. /// }, containsPoint: function(point) { /// /// /// Returns true if the shape contains the specified point. /// /// The point that should be checked. /// value indicating if the shape contains the point. /// }, opacity: function(opacity) { /// /// /// Gets or sets the element opacity. /// /// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque). /// The current element opacity. /// }, transform: function(transform) { /// /// /// Gets or sets the transformation of the element. /// /// The transformation to apply to the element. /// The current transformation on the element. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the element. /// /// A flag indicating if the element should be visible. /// true if the element is visible; false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.drawing, { FillOptions: function() { /// /// Constructor of kendo.drawing.FillOptions /// } }); kendo.drawing.FillOptions = (function() { var original = kendo.drawing.FillOptions; 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.drawing, { Gradient: function() { /// /// Constructor of kendo.drawing.Gradient /// } }); kendo.drawing.Gradient = (function() { var original = kendo.drawing.Gradient; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { addStop: function(offset,color,opacity) { /// /// /// Adds a color stop to the gradient. /// /// The stop offset from the start of the element. Ranges from 0 (start of gradient) to 1 (end of gradient). /// The color in any of the following formats.| Format | Description | --- | --- | --- | red | Basic or Extended CSS Color name | #ff0000 | Hex RGB value | rgb(255, 0, 0) | RGB valueSpecifying 'none', 'transparent' or '' (empty string) will clear the fill. /// The fill opacity. Ranges from 0 (completely transparent) to 1 (completely opaque). /// The new gradient color stop. /// }, removeStop: function(stop) { /// /// /// Removes a color stop from the gradient. /// /// The gradient color stop to remove. /// }, 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.drawing, { GradientStop: function() { /// /// Constructor of kendo.drawing.GradientStop /// } }); kendo.drawing.GradientStop = (function() { var original = kendo.drawing.GradientStop; 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.drawing, { Group: function() { /// /// Constructor of kendo.drawing.Group /// } }); kendo.drawing.Group = (function() { var original = kendo.drawing.Group; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { append: function(element) { /// /// /// Appends the specified element as a last child of the group. /// /// The element to append. Multiple parameters are accepted. /// }, clear: function() { /// /// /// Removes all child elements from the group. /// /// }, clip: function(clip) { /// /// /// Gets or sets the group clipping path. Inherited from Element.clip /// /// The group clipping path. /// The current group clipping path. /// }, clippedBBox: function() { /// /// /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox /// /// The bounding box of the element with clipping transformations applied. /// }, containsPoint: function(point) { /// /// /// Returns true if the shape contains the specified point. /// /// The point that should be checked. /// value indicating if the shape contains the point. /// }, insert: function(position,element) { /// /// /// Inserts an element at the specified position. /// /// The position to insert the element at. Existing children beyond this position will be shifted right. /// The element to insert. /// }, opacity: function(opacity) { /// /// /// Gets or sets the group opacity. Inherited from Element.opacityThe opacity of any child groups and elements will be multiplied by this value. /// /// The group opacity. Ranges from 0 (completely transparent) to 1 (completely opaque). /// The current group opacity. /// }, remove: function(element) { /// /// /// Removes the specified element from the group. /// /// The element to remove. /// }, removeAt: function(index) { /// /// /// Removes the child element at the specified position. /// /// The index at which the element currently resides. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the element. /// /// A flag indicating if the element should be visible. /// true if the element is visible; false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.drawing, { Image: function() { /// /// Constructor of kendo.drawing.Image /// } }); kendo.drawing.Image = (function() { var original = kendo.drawing.Image; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { bbox: function() { /// /// /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox /// /// The bounding box of the element with transformations applied. /// }, clip: function(clip) { /// /// /// Gets or sets the element clipping path. Inherited from Element.clip /// /// The element clipping path. /// The current element clipping path. /// }, clippedBBox: function() { /// /// /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox /// /// The bounding box of the element with clipping transformations applied. /// }, containsPoint: function(point) { /// /// /// Returns true if the shape contains the specified point. /// /// The point that should be checked. /// value indicating if the shape contains the point. /// }, opacity: function(opacity) { /// /// /// Gets or sets the element opacity. Inherited from Element.opacity /// /// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque). /// The current element opacity. /// }, src: function(value) { /// /// /// Gets or sets the image source URL. /// /// The new source URL. /// The current image source URL. /// }, rect: function(value) { /// /// /// Gets or sets the rectangle defines the image position and size. /// /// The new image rectangle. /// The current image rectangle. /// }, transform: function(transform) { /// /// /// Gets or sets the transformation of the element. Inherited from Element.transform /// /// The transformation to apply to the element. /// The current transformation on the element. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the element. Inherited from Element.visible /// /// A flag indicating if the element should be visible. /// true if the element is visible; false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.drawing, { Layout: function() { /// /// Constructor of kendo.drawing.Layout /// } }); kendo.drawing.Layout = (function() { var original = kendo.drawing.Layout; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { rect: function(rect) { /// /// /// Gets or sets the layout rectangle. /// /// The layout rectangle. /// The current rectangle. /// }, reflow: function() { /// /// /// Arranges the elements based on the current options. /// /// }, 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.drawing, { LinearGradient: function() { /// /// Constructor of kendo.drawing.LinearGradient /// } }); kendo.drawing.LinearGradient = (function() { var original = kendo.drawing.LinearGradient; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { addStop: function(offset,color,opacity) { /// /// /// Adds a color stop to the gradient. Inherited from Gradient.addStop /// /// /// The color of the stop. /// The fill opacity. /// The new gradient color stop. /// }, end: function(end) { /// /// /// Gets or sets the end point of the gradient. /// /// The end point of the gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right. /// The current end point of the gradient. /// }, start: function(start) { /// /// /// Gets or sets the start point of the gradient. /// /// The start point of the gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right. /// The current start point of the gradient. /// }, removeStop: function(stop) { /// /// /// Removes a color stop from the gradient. Inherited from Gradient.removeStop /// /// The gradient color stop to remove. /// }, 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.drawing, { MultiPath: function() { /// /// Constructor of kendo.drawing.MultiPath /// } }); kendo.drawing.MultiPath = (function() { var original = kendo.drawing.MultiPath; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { bbox: function() { /// /// /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox /// /// The bounding box of the element with transformations applied. /// }, clip: function(clip) { /// /// /// Gets or sets the element clipping path. Inherited from Element.clip /// /// The element clipping path. /// The current element clipping path. /// }, clippedBBox: function() { /// /// /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox /// /// The bounding box of the element with clipping transformations applied. /// }, close: function() { /// /// /// Closes the current sub-path by linking its current end point with its start point. /// /// The current instance to allow chaining. /// }, containsPoint: function(point) { /// /// /// Returns true if the shape contains the specified point. /// /// The point that should be checked. /// value indicating if the shape contains the point. /// }, curveTo: function(controlOut,controlIn,endPoint) { /// /// /// Draws a cubic Bézier curve (with two control points).A quadratic Bézier curve (with one control point) can be plotted by making the control point equal. /// /// The first control point for the curve. /// The second control point for the curve. /// The curve end point. /// The current instance to allow chaining. /// }, fill: function(color,opacity) { /// /// /// Sets the shape fill. /// /// The fill color to set. /// The fill opacity to set. /// The current instance to allow chaining. /// }, lineTo: function(x,y) { /// /// /// Draws a straight line to the specified absolute coordinates. /// /// The line end X coordinate or a Point/Array with X and Y coordinates. /// The line end Y coordinate.Optional if the first parameter is a Point/Array. /// The current instance to allow chaining. /// }, moveTo: function(x,y) { /// /// /// Creates a new sub-path or clears all segments and moves the starting point to the specified absolute coordinates. /// /// The starting X coordinate or a Point/Array with X and Y coordinates. /// The starting Y coordinate.Optional if the first parameter is a Point/Array. /// The current instance to allow chaining. /// }, opacity: function(opacity) { /// /// /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity. /// /// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque). /// The current element opacity. /// }, stroke: function(color,width,opacity) { /// /// /// Sets the shape stroke. /// /// The stroke color to set. /// The stroke width to set. /// The stroke opacity to set. /// The current instance to allow chaining. /// }, transform: function(transform) { /// /// /// Gets or sets the transformation of the element. Inherited from Element.transform /// /// The transformation to apply to the element. /// The current transformation on the element. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the element. Inherited from Element.visible /// /// A flag indicating if the element should be visible. /// true if the element is visible; false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.drawing, { OptionsStore: function() { /// /// Constructor of kendo.drawing.OptionsStore /// } }); kendo.drawing.OptionsStore = (function() { var original = kendo.drawing.OptionsStore; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { get: function(field) { /// /// /// Gets the value of the specified option. /// /// The field name to retrieve. Must be a fully qualified name (e.g. "foo.bar") for nested options. /// The current option value. /// }, set: function(field,value) { /// /// /// Sets the value of the specified option. /// /// The name of the option to set. Must be a fully qualified name (e.g. "foo.bar") for nested options. /// The new option value.If the new value is exactly the same as the new value the operation will not trigger options change on the observer (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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.drawing, { PDFOptions: function() { /// /// Constructor of kendo.drawing.PDFOptions /// } }); kendo.drawing.PDFOptions = (function() { var original = kendo.drawing.PDFOptions; 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.drawing, { Path: function() { /// /// Constructor of kendo.drawing.Path /// } }); kendo.drawing.Path = (function() { var original = kendo.drawing.Path; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { bbox: function() { /// /// /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox /// /// The bounding box of the element with transformations applied. /// }, clip: function(clip) { /// /// /// Gets or sets the element clipping path. Inherited from Element.clip /// /// The element clipping path. /// The current element clipping path. /// }, clippedBBox: function() { /// /// /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox /// /// The bounding box of the element with clipping transformations applied. /// }, close: function() { /// /// /// Closes the path by linking the current end point with the start point. /// /// The current instance to allow chaining. /// }, containsPoint: function(point) { /// /// /// Returns true if the shape contains the specified point. /// /// The point that should be checked. /// value indicating if the shape contains the point. /// }, curveTo: function(controlOut,controlIn,endPoint) { /// /// /// Draws a cubic Bézier curve (with two control points).A quadratic Bézier curve (with one control point) can be plotted by making the control point equal. /// /// The first control point for the curve. /// The second control point for the curve. /// The curve end point. /// The current instance to allow chaining. /// }, fill: function(color,opacity) { /// /// /// Sets the shape fill. /// /// The fill color to set. /// The fill opacity to set. /// The current instance to allow chaining. /// }, lineTo: function(x,y) { /// /// /// Draws a straight line to the specified absolute coordinates. /// /// The line end X coordinate or a Point/Array with X and Y coordinates. /// The line end Y coordinate.Optional if the first parameter is a Point/Array. /// The current instance to allow chaining. /// }, moveTo: function(x,y) { /// /// /// Clears all existing segments and moves the starting point to the specified absolute coordinates. /// /// The starting X coordinate or a Point/Array with X and Y coordinates. /// The starting Y coordinate.Optional if the first parameter is a Point/Array. /// The current instance to allow chaining. /// }, opacity: function(opacity) { /// /// /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity. /// /// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque). /// The current element opacity. /// }, stroke: function(color,width,opacity) { /// /// /// Sets the shape stroke. /// /// The stroke color to set. /// The stroke width to set. /// The stroke opacity to set. /// The current instance to allow chaining. /// }, transform: function(transform) { /// /// /// Gets or sets the transformation of the element. Inherited from Element.transform /// /// The transformation to apply to the element. /// The current transformation on the element. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the element. Inherited from Element.visible /// /// A flag indicating if the element should be visible. /// true if the element is visible; false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.drawing, { RadialGradient: function() { /// /// Constructor of kendo.drawing.RadialGradient /// } }); kendo.drawing.RadialGradient = (function() { var original = kendo.drawing.RadialGradient; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { addStop: function(offset,color,opacity) { /// /// /// Adds a color stop to the gradient. Inherited from Gradient.addStop /// /// /// The color of the stop. /// The fill opacity. /// The new gradient color stop. /// }, center: function(center) { /// /// /// Gets or sets the center point of the gradient. /// /// The center point of the gradient.Coordinates are relative to the shape bounding box. For example [0, 0] is top left and [1, 1] is bottom right. /// The current radius of the gradient. /// }, radius: function(value) { /// /// /// Gets or sets the radius of the gradient. /// /// The new radius of the gradient. /// The current radius of the gradient. /// }, removeStop: function(stop) { /// /// /// Removes a color stop from the gradient. Inherited from Gradient.removeStop /// /// The gradient color stop to remove. /// }, 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.drawing, { Rect: function() { /// /// Constructor of kendo.drawing.Rect /// } }); kendo.drawing.Rect = (function() { var original = kendo.drawing.Rect; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { bbox: function() { /// /// /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox /// /// The bounding box of the element with transformations applied. /// }, clip: function(clip) { /// /// /// Gets or sets the element clipping path. Inherited from Element.clip /// /// The element clipping path. /// The current element clipping path. /// }, clippedBBox: function() { /// /// /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox /// /// The bounding box of the element with clipping transformations applied. /// }, containsPoint: function(point) { /// /// /// Returns true if the shape contains the specified point. /// /// The point that should be checked. /// value indicating if the shape contains the point. /// }, geometry: function(value) { /// /// /// Gets or sets the rectangle geometry. /// /// The new geometry to use. /// The current rectangle geometry. /// }, fill: function(color,opacity) { /// /// /// Sets the shape fill. /// /// The fill color to set. /// The fill opacity to set. /// The current instance to allow chaining. /// }, opacity: function(opacity) { /// /// /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity. /// /// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque). /// The current element opacity. /// }, stroke: function(color,width,opacity) { /// /// /// Sets the shape stroke. /// /// The stroke color to set. /// The stroke width to set. /// The stroke opacity to set. /// The current instance to allow chaining. /// }, transform: function(transform) { /// /// /// Gets or sets the transformation of the element. Inherited from Element.transform /// /// The transformation to apply to the element. /// The current transformation on the element. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the element. Inherited from Element.visible /// /// A flag indicating if the element should be visible. /// true if the element is visible; false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.drawing, { Segment: function() { /// /// Constructor of kendo.drawing.Segment /// } }); kendo.drawing.Segment = (function() { var original = kendo.drawing.Segment; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { anchor: function(value) { /// /// /// Gets or sets the segment anchor point.The setter returns the current Segment to allow chaining. /// /// The new anchor point. /// The current anchor point. /// }, controlIn: function(value) { /// /// /// Gets or sets the first curve control point of this segment.The setter returns the current Segment to allow chaining. /// /// The new control point. /// The current control point. /// }, controlOut: function(value) { /// /// /// Gets or sets the second curve control point of this segment.The setter returns the current Segment to allow chaining. /// /// The new control point. /// The current control point. /// }, 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.drawing, { StrokeOptions: function() { /// /// Constructor of kendo.drawing.StrokeOptions /// } }); kendo.drawing.StrokeOptions = (function() { var original = kendo.drawing.StrokeOptions; 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.drawing, { Surface: function() { /// /// Constructor of kendo.drawing.Surface /// } }); kendo.drawing.Surface = (function() { var original = kendo.drawing.Surface; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { clear: function() { /// /// /// Clears the drawing surface. /// /// }, draw: function(element) { /// /// /// Draws the element and its children on the surface. Existing elements will remain visible. /// /// The element to draw. /// }, eventTarget: function(e) { /// /// /// Returns the target drawing element of a DOM event. /// /// The original DOM or jQuery event object. /// The target drawing element, if any. /// }, hideTooltip: function() { /// /// /// Hides the surface tooltip. /// /// }, resize: function(force) { /// /// /// Resizes the surface to match the size of the container. /// /// Whether to proceed with resizing even if the container dimensions have not changed. /// }, showTooltip: function(element,options) { /// /// /// Shows the surface tooltip for the passed shape. /// /// The element for which the tooltip should be shown. /// Options for the tooltip. /// }, 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.drawing, { Text: function() { /// /// Constructor of kendo.drawing.Text /// } }); kendo.drawing.Text = (function() { var original = kendo.drawing.Text; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { bbox: function() { /// /// /// Returns the bounding box of the element with transformations applied. Inherited from Element.bbox /// /// The bounding box of the element with transformations applied. /// }, clip: function(clip) { /// /// /// Gets or sets the element clipping path. Inherited from Element.clip /// /// The element clipping path. /// The current element clipping path. /// }, clippedBBox: function() { /// /// /// Returns the bounding box of the element with clipping and transformations applied. Inherited from Element.clippedBBox /// /// The bounding box of the element with clipping transformations applied. /// }, containsPoint: function(point) { /// /// /// Returns true if the shape contains the specified point. /// /// The point that should be checked. /// value indicating if the shape contains the point. /// }, content: function(value) { /// /// /// Gets or sets the text content. /// /// The new text content to set. /// The current content of the text. /// }, fill: function(color,opacity) { /// /// /// Sets the text fill. /// /// The fill color to set. /// The fill opacity to set. /// The current instance to allow chaining. /// }, opacity: function(opacity) { /// /// /// Gets or sets the element opacity. Inherited from Element.opacityIf set, the stroke and fill opacity will be multiplied by the element opacity. /// /// The element opacity. Ranges from 0 (completely transparent) to 1 (completely opaque). /// The current element opacity. /// }, position: function(value) { /// /// /// Gets or sets the position of the text upper left corner. /// /// The new position of the text upper left corner. /// The current position of the text upper left corner. /// }, stroke: function(color,width,opacity) { /// /// /// Sets the text stroke. /// /// The stroke color to set. /// The stroke width to set. /// The stroke opacity to set. /// The current instance to allow chaining. /// }, transform: function(transform) { /// /// /// Gets or sets the transformation of the element. Inherited from Element.transform /// /// The transformation to apply to the element. /// The current transformation on the element. /// }, visible: function(visible) { /// /// /// Gets or sets the visibility of the element. Inherited from Element.visible /// /// A flag indicating if the element should be visible. /// true if the element is visible; false 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.drawing, { TooltipOptions: function() { /// /// Constructor of kendo.drawing.TooltipOptions /// } }); kendo.drawing.TooltipOptions = (function() { var original = kendo.drawing.TooltipOptions; 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.geometry, { Arc: function() { /// /// Constructor of kendo.geometry.Arc /// } }); kendo.geometry.Arc = (function() { var original = kendo.geometry.Arc; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { bbox: function(matrix) { /// /// /// Returns the bounding box of this arc after applying the specified transformation matrix. /// /// Transformation matrix to apply. /// The bounding box after applying the transformation matrix. /// }, getAnticlockwise: function() { /// /// /// Gets the arc anticlockwise flag. /// /// The anticlockwise flag of the arc. /// }, getCenter: function() { /// /// /// Gets the arc center location. /// /// The location of the arc center. /// }, getEndAngle: function() { /// /// /// Gets the end angle of the arc in decimal degrees. Measured in clockwise direction with 0 pointing "right". /// /// The end angle of the arc. /// }, getRadiusX: function() { /// /// /// Gets the x radius of the arc. /// /// The x radius of the arc. /// }, getRadiusY: function() { /// /// /// Gets the y radius of the arc. /// /// The y radius of the arc. /// }, getStartAngle: function() { /// /// /// Gets the start angle of the arc in decimal degrees. Measured in clockwise direction with 0 pointing "right". /// /// The start angle of the arc. /// }, pointAt: function(angle) { /// /// /// Gets the location of a point on the arc's circumference at a given angle. /// /// Angle in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized. /// The point on the arc's circumference. /// }, setAnticlockwise: function(value) { /// /// /// Sets the arc anticlockwise flag. /// /// The new anticlockwise value. /// The current arc instance. /// }, setCenter: function(value) { /// /// /// Sets the arc center location. /// /// The new arc center. /// The current arc instance. /// }, setEndAngle: function(value) { /// /// /// Sets the end angle of the arc in decimal degrees. Measured in clockwise direction with 0 pointing "right". /// /// The new arc end angle. /// The current arc instance. /// }, setRadiusX: function(value) { /// /// /// Sets the x radius of the arc. /// /// The new arc x radius. /// The current arc instance. /// }, setRadiusY: function(value) { /// /// /// Sets the y radius of the arc. /// /// The new arc y radius. /// The current arc instance. /// }, setStartAngle: function(value) { /// /// /// Sets the start angle of the arc in decimal degrees. Measured in clockwise direction with 0 pointing "right". /// /// The new arc start angle. /// The current arc 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.geometry, { Circle: function() { /// /// Constructor of kendo.geometry.Circle /// } }); kendo.geometry.Circle = (function() { var original = kendo.geometry.Circle; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { bbox: function(matrix) { /// /// /// Returns the bounding box of this circle after applying the specified transformation matrix. /// /// Transformation matrix to apply. /// The bounding box after applying the transformation matrix. /// }, clone: function() { /// /// /// Creates a new instance with the same center and radius. /// /// A new Circle instance with the same center and radius. /// }, equals: function(other) { /// /// /// Compares this circle with another instance. /// /// The circle to compare with. /// true if the point coordinates match; false otherwise. /// }, getCenter: function() { /// /// /// Gets the circle center location. /// /// The location of the circle center. /// }, getRadius: function() { /// /// /// Gets the circle radius. /// /// The radius of the circle. /// }, pointAt: function(angle) { /// /// /// Gets the location of a point on the circle's circumference at a given angle. /// /// Angle in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized. /// The point on the circle's circumference. /// }, setCenter: function(value) { /// /// /// Sets the location of the circle center. /// /// The new center Point or equivalent [x, y] array. /// The location of the circle center. /// }, setRadius: function(value) { /// /// /// Sets the circle radius. /// /// The new circle radius. /// The current circle 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.geometry, { Matrix: function() { /// /// Constructor of kendo.geometry.Matrix /// } }); kendo.geometry.Matrix = (function() { var original = kendo.geometry.Matrix; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { clone: function() { /// /// /// Creates a new instance with the same element values. /// /// A new Matrix instance with the same element values. /// }, equals: function(other) { /// /// /// Compares this matrix with another instance. /// /// The matrix instance to compare with. /// true if the matrix elements match; false otherwise. /// }, round: function(digits) { /// /// /// Rounds the matrix elements to the specified number of fractional digits. /// /// Number of fractional digits. /// The current matrix instance. /// }, multiplyCopy: function(matrix) { /// /// /// Multiplies the matrix with another one and returns the result as new instance. The current instance elements are not altered. /// /// The matrix to multiply by. /// The result of the multiplication. /// }, toArray: function(digits) { /// /// /// Returns the matrix elements as an [a, b, c, d, e, f] array. /// /// (Optional) Number of fractional digits. /// An array representation of the matrix. /// }, toString: function(digits,separator) { /// /// /// Formats the matrix elements as a string. /// /// (Optional) Number of fractional digits. /// The separator to place between elements. /// A string representation of the matrix, e.g. "1, 0, 0, 1, 0, 0". /// }, 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.geometry, { Point: function() { /// /// Constructor of kendo.geometry.Point /// } }); kendo.geometry.Point = (function() { var original = kendo.geometry.Point; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { clone: function() { /// /// /// Creates a new instance with the same coordinates. /// /// A new Point instance with the same coordinates. /// }, distanceTo: function(point) { /// /// /// Calculates the distance to another point. /// /// The point to calculate the distance to. /// The straight line distance to the given point. /// }, equals: function(other) { /// /// /// Compares this point with another instance. /// /// The point to compare with. /// true if the point coordinates match; false otherwise. /// }, getX: function() { /// /// /// Gets the x coordinate value. /// /// The current x coordinate value. /// }, getY: function() { /// /// /// Gets the y coordinate value. /// /// The current y coordinate value. /// }, move: function(x,y) { /// /// /// Moves the point to the specified x and y coordinates. /// /// The new X coordinate. /// The new Y coordinate. /// The current point instance. /// }, rotate: function(angle,center) { /// /// /// Rotates the point around the given center. /// /// Angle in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized. /// The rotation center. Can be a Point instance or an [x, y] array. /// The current Point instance. /// }, round: function(digits) { /// /// /// Rounds the point coordinates to the specified number of fractional digits. /// /// Number of fractional digits. /// The current Point instance. /// }, scale: function(scaleX,scaleY) { /// /// /// Scales the point coordinates along the x and y axis. /// /// The x scale multiplier. /// The y scale multiplier. /// The current point instance. /// }, scaleCopy: function(scaleX,scaleY) { /// /// /// Scales the point coordinates on a copy of the current point. The callee coordinates will remain unchanged. /// /// The x scale multiplier. /// The y scale multiplier. /// The new Point instance. /// }, setX: function(value) { /// /// /// Sets the x coordinate to a new value. /// /// The new x coordinate value. /// The current Point instance. /// }, setY: function(value) { /// /// /// Sets the y coordinate to a new value. /// /// The new y coordinate value. /// The current Point instance. /// }, toArray: function(digits) { /// /// /// Returns the point coordinates as an [x, y] array. /// /// (Optional) Number of fractional digits. /// An array representation of the point, e.g. [10, 20] /// }, toString: function(digits,separator) { /// /// /// Formats the point value to a string. /// /// (Optional) Number of fractional digits. /// The separator to place between coordinates. /// A string representation of the point, e.g. "10 20". /// }, transform: function(tansformation) { /// /// /// Applies a transformation to the point coordinates. The current coordinates will be overriden. /// /// The transformation to apply. /// The current Point instance. /// }, transformCopy: function(tansformation) { /// /// /// Applies a transformation on a copy of the current point. The callee coordinates will remain unchanged. /// /// The transformation to apply. /// The new Point instance. /// }, translate: function(dx,dy) { /// /// /// Translates the point along the x and y axis. /// /// The distance to move along the X axis. /// The distance to move along the Y axis. /// The current point instance. /// }, translateWith: function(vector) { /// /// /// Translates the point by using a Point instance as a vector of translation. /// /// The vector of translation. Can be either a Point instance or an [x, y] array. /// The current point 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.geometry, { Rect: function() { /// /// Constructor of kendo.geometry.Rect /// } }); kendo.geometry.Rect = (function() { var original = kendo.geometry.Rect; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { bbox: function(matrix) { /// /// /// Returns the bounding box of this rectangle after applying the specified transformation matrix. /// /// Transformation matrix to apply. /// The bounding box after applying the transformation matrix. /// }, bottomLeft: function() { /// /// /// Gets the position of the bottom-left corner of the rectangle. This is also the rectangle origin /// /// The position of the bottom-left corner. /// }, bottomRight: function() { /// /// /// Gets the position of the bottom-right corner of the rectangle. /// /// The position of the bottom-right corner. /// }, center: function() { /// /// /// Gets the position of the center of the rectangle. /// /// The position of the center. /// }, clone: function() { /// /// /// Creates a new instance with the same origin and size. /// /// A new Rect instance with the same origin and size. /// }, equals: function(other) { /// /// /// Compares this rectangle with another instance. /// /// The rectangle to compare with. /// true if the origin and size is the same for both rectangles; false otherwise. /// }, getOrigin: function() { /// /// /// Gets the origin (top-left point) of the rectangle. /// /// The origin (top-left point). /// }, getSize: function() { /// /// /// Gets the rectangle size. /// /// The current rectangle Size. /// }, height: function() { /// /// /// Gets the rectangle height. /// /// The rectangle height. /// }, setOrigin: function(value) { /// /// /// Sets the origin (top-left point) of the rectangle. /// /// The new origin Point or equivalent [x, y] array. /// The current rectangle instance. /// }, setSize: function(value) { /// /// /// Sets the rectangle size. /// /// The new rectangle Size or equivalent [width, height] array. /// The current rectangle instance. /// }, topLeft: function() { /// /// /// Gets the position of the top-left corner of the rectangle. This is also the rectangle origin /// /// The position of the top-left corner. /// }, topRight: function() { /// /// /// Gets the position of the top-right corner of the rectangle. /// /// The position of the top-right corner. /// }, width: function() { /// /// /// Gets the rectangle width. /// /// The rectangle width. /// }, 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.geometry, { Size: function() { /// /// Constructor of kendo.geometry.Size /// } }); kendo.geometry.Size = (function() { var original = kendo.geometry.Size; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { clone: function() { /// /// /// Creates a new instance with the same width and height. /// /// A new Size instance with the same dimensions. /// }, equals: function(other) { /// /// /// Compares this Size with another instance. /// /// The Size to compare with. /// true if the size members match; false otherwise. /// }, getWidth: function() { /// /// /// Gets the width value. /// /// The current width value. /// }, getHeight: function() { /// /// /// Gets the height value. /// /// The current height value. /// }, setWidth: function(value) { /// /// /// Sets the width to a new value. /// /// The new width value. /// The current Size instance. /// }, setHeight: function(value) { /// /// /// Sets the height to a new value. /// /// The new height value. /// The current Size 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.geometry, { Transformation: function() { /// /// Constructor of kendo.geometry.Transformation /// } }); kendo.geometry.Transformation = (function() { var original = kendo.geometry.Transformation; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { clone: function() { /// /// /// Creates a new instance with the same transformation matrix. /// /// A new Transformation instance with the same matrix. /// }, equals: function(other) { /// /// /// Compares this transformation with another instance. /// /// The transformation to compare with. /// true if the transformation matrix is the same; false otherwise. /// }, matrix: function() { /// /// /// Gets the current transformation matrix for this transformation. /// /// The current transformation matrix. /// }, multiply: function(transformation) { /// /// /// Multiplies the transformation with another. The underlying transformation matrix is updated in-place. /// /// The transformation to multiply by. /// The current transformation instance. /// }, rotate: function(angle,center) { /// /// /// Sets rotation with the specified parameters. /// /// The angle of rotation in decimal degrees. Measured in clockwise direction with 0 pointing "right". Negative values or values greater than 360 will be normalized. /// The center of rotation. /// The current transformation instance. /// }, scale: function(scaleX,scaleY) { /// /// /// Sets scale with the specified parameters. /// /// The scale factor on the X axis. /// The scale factor on the Y axis. /// The current transformation instance. /// }, translate: function(x,y) { /// /// /// Sets translation with the specified parameters. /// /// The distance to translate along the X axis. /// The distance to translate along the Y axis. /// The current transformation 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.mobile, { Application: function() { /// /// Constructor of kendo.mobile.Application /// } }); kendo.mobile.Application = (function() { var original = kendo.mobile.Application; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { changeLoadingMessage: function(text) { /// /// /// Changes the loading message. /// /// New text of the loading animation. /// }, hideLoading: function() { /// /// /// Hide the loading animation. /// /// }, navigate: function(url,transition) { /// /// /// Navigate to local or to remote view. /// /// The id or url of the view. /// Optional. The transition to apply when navigating. See View Transitions section for more information. /// }, replace: function(url,transition) { /// /// /// Navigate to local or to remote view. The view will replace the current one in the history stack. /// /// The id or url of the view. /// Optional. 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. /// /// }, skin: function(skin) { /// /// /// Change the current skin of the mobile application. When used without parameters, returns the currently used skin. Available as of Q2 2013. /// /// The skin name to switch to or empty string ("") to return to native. /// Current skin in effect. /// }, 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); intellisense.annotate(kendo.mobile.ui, { ActionSheet: function() { /// /// Constructor of kendo.mobile.ui.ActionSheet /// } }); kendo.mobile.ui.ActionSheet = (function() { var original = kendo.mobile.ui.ActionSheet; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoMobileActionSheet = function() { this.data("kendoMobileActionSheet", new kendo.mobile.ui.ActionSheet()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileActionSheet: function() { /// /// /// Returns a reference to the kendo.mobile.ui.ActionSheet widget, instantiated on the selector. /// /// The kendo.mobile.ui.ActionSheet instance (if present). /// }, kendoMobileActionSheet: 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). /// /// type - String (default: auto) /// By default, the actionsheet opens as a full screen dialog on a phone device or as a popover if a tablet is detected. Setting the type to "phone" or "tablet" will force the looks of the widget regardless of the device. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.mobile.ui, { BackButton: function() { /// /// Constructor of kendo.mobile.ui.BackButton /// } }); kendo.mobile.ui.BackButton = (function() { var original = kendo.mobile.ui.BackButton; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoMobileBackButton = function() { this.data("kendoMobileBackButton", new kendo.mobile.ui.BackButton()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileBackButton: function() { /// /// /// Returns a reference to the kendo.mobile.ui.BackButton widget, instantiated on the selector. /// /// The kendo.mobile.ui.BackButton instance (if present). /// }, kendoMobileBackButton: 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 /// /// } }); intellisense.annotate(kendo.mobile.ui, { Button: function() { /// /// Constructor of kendo.mobile.ui.Button /// } }); kendo.mobile.ui.Button = (function() { var original = kendo.mobile.ui.Button; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { 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. /// the badge value if invoked without parameters, otherwise 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. /// /// }, enable: function(enable) { /// /// /// Changes the enabled state of the widget. /// /// Whether to enable or disable 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoMobileButton = function() { this.data("kendoMobileButton", new kendo.mobile.ui.Button()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileButton: function() { /// /// /// Returns a reference to the kendo.mobile.ui.Button widget, instantiated on the selector. /// /// The kendo.mobile.ui.Button instance (if present). /// }, kendoMobileButton: 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: /// /// badge - String /// The badge of the button. /// /// clickOn - String (default: default "up") /// Configures the DOM event used to trigger the button click event/navigate in the mobile application. Can be set to "down" as an alias for touchstart, mousedown, MSPointerDown, and PointerDown vendor specific events. Setting the clickOn to down usually makes sense for buttons in the header or in non-scrollable views for increased responsiveness.By default, buttons trigger click/navigate when the user taps the button (a press + release action sequence occurs). /// /// enable - Boolean (default: true) /// If set to false the widget will be disabled and will not allow the user to click it. The widget is enabled by default. /// /// 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 /// /// } }); intellisense.annotate(kendo.mobile.ui, { ButtonGroup: function() { /// /// Constructor of kendo.mobile.ui.ButtonGroup /// } }); kendo.mobile.ui.ButtonGroup = (function() { var original = kendo.mobile.ui.ButtonGroup; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { 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. /// the badge value if invoked without parameters, otherwise 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. /// /// }, enable: function(enable) { /// /// /// Enables or disables the widget. /// /// A boolean flag that indicates whether the widget should be enabled or disabled. /// }, 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoMobileButtonGroup = function() { this.data("kendoMobileButtonGroup", new kendo.mobile.ui.ButtonGroup()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileButtonGroup: function() { /// /// /// Returns a reference to the kendo.mobile.ui.ButtonGroup widget, instantiated on the selector. /// /// The kendo.mobile.ui.ButtonGroup instance (if present). /// }, kendoMobileButtonGroup: 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: /// /// enable - Boolean (default: true) /// Defines if the widget is initially enabled or disabled. /// /// index - Number /// Defines the initially selected Button (zero based index). /// /// 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 /// /// } }); intellisense.annotate(kendo.mobile.ui, { Collapsible: function() { /// /// Constructor of kendo.mobile.ui.Collapsible /// } }); kendo.mobile.ui.Collapsible = (function() { var original = kendo.mobile.ui.Collapsible; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { collapse: function(instant) { /// /// /// Collapses the content. /// /// Optional. When set to true the collapse action will be performed without animation. /// }, destroy: function() { /// /// /// Prepares the Collapsible 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. /// /// }, expand: function(instant) { /// /// /// Expands the content. /// /// When set to true the expand action will be performed without animation. /// }, resize: function() { /// /// /// Recalculates the content height. /// /// }, toggle: function(instant) { /// /// /// Toggles the content visibility. /// /// When set to true the expand/collapse action will be performed without 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoMobileCollapsible = function() { this.data("kendoMobileCollapsible", new kendo.mobile.ui.Collapsible()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileCollapsible: function() { /// /// /// Returns a reference to the kendo.mobile.ui.Collapsible widget, instantiated on the selector. /// /// The kendo.mobile.ui.Collapsible instance (if present). /// }, kendoMobileCollapsible: function(options) { /// /// /// Instantiates a kendo.mobile.ui.Collapsible widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// animation - Boolean (default: true) /// Turns on or off the animation of the widget. /// /// collapsed - Boolean (default: true) /// If set to false the widget content will be expanded initially. The content of the widget is collapsed by default. /// /// expandIcon - String (default: "plus") /// Sets the icon for the header of the collapsible widget when it is in a expanded state. /// /// iconPosition - String (default: "left") /// Sets the icon position in the header of the collapsible widget. Possible values are "left", "right", "top". /// /// inset - Boolean (default: "false") /// Forces inset appearance - the collapsible panel is padded from the View and receives rounded corners. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.mobile.ui, { DetailButton: function() { /// /// Constructor of kendo.mobile.ui.DetailButton /// } }); kendo.mobile.ui.DetailButton = (function() { var original = kendo.mobile.ui.DetailButton; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoMobileDetailButton = function() { this.data("kendoMobileDetailButton", new kendo.mobile.ui.DetailButton()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileDetailButton: function() { /// /// /// Returns a reference to the kendo.mobile.ui.DetailButton widget, instantiated on the selector. /// /// The kendo.mobile.ui.DetailButton instance (if present). /// }, kendoMobileDetailButton: 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 /// /// } }); intellisense.annotate(kendo.mobile.ui, { Drawer: function() { /// /// Constructor of kendo.mobile.ui.Drawer /// } }); kendo.mobile.ui.Drawer = (function() { var original = kendo.mobile.ui.Drawer; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { destroy: function() { /// /// /// Prepares the Drawer 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. /// /// }, hide: function() { /// /// /// Hide the Drawer /// /// }, show: function() { /// /// /// Show the Drawer /// /// }, 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.kendoMobileDrawer = function() { this.data("kendoMobileDrawer", new kendo.mobile.ui.Drawer()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileDrawer: function() { /// /// /// Returns a reference to the kendo.mobile.ui.Drawer widget, instantiated on the selector. /// /// The kendo.mobile.ui.Drawer instance (if present). /// }, kendoMobileDrawer: function(options) { /// /// /// Instantiates a kendo.mobile.ui.Drawer widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// container - jQuery /// Specifies the content element to shift when the drawer appears. Required if the drawer is used outside of a mobile application. /// /// position - String (default: 'left') /// The position of the drawer. Can be left (default) or right. /// /// swipeToOpen - Boolean (default: true) /// If set to false, swiping the view will not activate the drawer. In this case, the drawer will only be open by a designated button. should be disabled for browsers, which use side swiping gestures for back/forward navigation, such as iOS Safari. Otherwise, users should swipe from an inner part of the view, and not from the view edge. /// /// swipeToOpenViews - Array /// A list of the view ids on which the drawer will appear when the view is swiped. If omitted, the swipe gesture will work on all views. The option has effect only if swipeToOpen is set to true. /// /// title - String /// The text to display in the Navbar title (if present). /// /// views - Array /// A list of the view ids on which the drawer will appear. If omitted, the drawer will work on any view in the application. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.mobile.ui, { Layout: function() { /// /// Constructor of kendo.mobile.ui.Layout /// } }); kendo.mobile.ui.Layout = (function() { var original = kendo.mobile.ui.Layout; 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.kendoMobileLayout = function() { this.data("kendoMobileLayout", new kendo.mobile.ui.Layout()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileLayout: function() { /// /// /// Returns a reference to the kendo.mobile.ui.Layout widget, instantiated on the selector. /// /// The kendo.mobile.ui.Layout instance (if present). /// }, kendoMobileLayout: 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 /// /// } }); intellisense.annotate(kendo.mobile.ui, { ListView: function() { /// /// Constructor of kendo.mobile.ui.ListView /// } }); kendo.mobile.ui.ListView = (function() { var original = kendo.mobile.ui.ListView; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { append: function(dataItems) { /// /// /// Appends new items generated by rendering the given data items with the listview template to the bottom of the listview. /// /// /// }, prepend: function(dataItems) { /// /// /// Prepends new items generated by rendering the given data items with the listview template to the top of the listview. /// /// /// }, replace: function(dataItems) { /// /// /// Replaces the contents of the listview with the passed rendered data items. /// /// /// }, remove: function(dataItems) { /// /// /// Removes the listview items which are rendered with the passed data items. /// /// /// }, setDataItem: function(item,dataItem) { /// /// /// Re-renders the given listview item with the new dataItem provided. In order for the method to work as expected, the data items should be of type kendo.data.Model. /// /// The listview item to update /// The new dataItem /// }, 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. /// /// /// }, 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.kendoMobileListView = function() { this.data("kendoMobileListView", new kendo.mobile.ui.ListView()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileListView: function() { /// /// /// Returns a reference to the kendo.mobile.ui.ListView widget, instantiated on the selector. /// /// The kendo.mobile.ui.ListView instance (if present). /// }, kendoMobileListView: 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 refreshing. Notice: not applicable if ListView is in a virtual mode. /// /// autoBind - Boolean (default: true) /// Indicates whether the listview will call read on the DataSource initially. If set to false, the listview will be bound after the DataSource instance fetch method is called. /// /// dataSource - kendo.data.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. /// /// 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.Notice: fixed headers are not supported in virtual mode. /// /// 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. Tapping it fetches and displays the items from the next page of the DataSource. /// /// messages - Object /// Defines the text of the ListView messages. Used primary for localization. /// /// 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.Notice: When the listview is in a virtual mode, the pull to refresh action removes the previously loaded items in the listview (instead of appending new records at the top). Previously loaded pages in the DataSource are also discarded. /// /// style - String (default: "") /// The style of the widget. Can be either empty string(""), or inset. /// /// template - String|Function (default: "#:data#") /// The item template. /// /// type - String (default: "flat") /// 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 (default: false) /// Indicates whether the filter input must be visible or not. /// /// virtualViewSize - Number /// Used when virtualization of local data is used. This configuration is needed to determine the items displayed, since the datasource does not (and should not) have paging set. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.mobile.ui, { Loader: function() { /// /// Constructor of kendo.mobile.ui.Loader /// } }); kendo.mobile.ui.Loader = (function() { var original = kendo.mobile.ui.Loader; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoMobileLoader = function() { this.data("kendoMobileLoader", new kendo.mobile.ui.Loader()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileLoader: function() { /// /// /// Returns a reference to the kendo.mobile.ui.Loader widget, instantiated on the selector. /// /// The kendo.mobile.ui.Loader instance (if present). /// }, kendoMobileLoader: 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 /// /// } }); intellisense.annotate(kendo.mobile.ui, { ModalView: function() { /// /// Constructor of kendo.mobile.ui.ModalView /// } }); kendo.mobile.ui.ModalView = (function() { var original = kendo.mobile.ui.ModalView; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { 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 /// /// 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoMobileModalView = function() { this.data("kendoMobileModalView", new kendo.mobile.ui.ModalView()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileModalView: function() { /// /// /// Returns a reference to the kendo.mobile.ui.ModalView widget, instantiated on the selector. /// /// The kendo.mobile.ui.ModalView instance (if present). /// }, kendoMobileModalView: 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 /// /// } }); intellisense.annotate(kendo.mobile.ui, { NavBar: function() { /// /// Constructor of kendo.mobile.ui.NavBar /// } }); kendo.mobile.ui.NavBar = (function() { var original = kendo.mobile.ui.NavBar; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoMobileNavBar = function() { this.data("kendoMobileNavBar", new kendo.mobile.ui.NavBar()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileNavBar: function() { /// /// /// Returns a reference to the kendo.mobile.ui.NavBar widget, instantiated on the selector. /// /// The kendo.mobile.ui.NavBar instance (if present). /// }, kendoMobileNavBar: 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 /// /// } }); intellisense.annotate(kendo.mobile.ui, { Pane: function() { /// /// Constructor of kendo.mobile.ui.Pane /// } }); kendo.mobile.ui.Pane = (function() { var original = kendo.mobile.ui.Pane; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { 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 for more information. /// }, replace: function(url,transition) { /// /// /// Navigate to local or to remote view. The view will replace the current one in the history stack. /// /// The id or URL of the view. /// The transition to apply when navigating. See View Transitions 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoMobilePane = function() { this.data("kendoMobilePane", new kendo.mobile.ui.Pane()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobilePane: function() { /// /// /// Returns a reference to the kendo.mobile.ui.Pane widget, instantiated on the selector. /// /// The kendo.mobile.ui.Pane instance (if present). /// }, kendoMobilePane: 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: /// /// collapsible - Boolean (default: false) /// Applicable when the pane is inside a SplitView. If set to true, the pane will be hidden when the device is in portrait position. The expandPanes SplitView method displays the hidden panes.The id of the initial mobile View to display. /// /// 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. /// /// portraitWidth - Number /// Sets the pane width in pixels when the device is in portrait position. /// /// transition - String /// The default View transition. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.mobile.ui, { PopOver: function() { /// /// Constructor of kendo.mobile.ui.PopOver /// } }); kendo.mobile.ui.PopOver = (function() { var original = kendo.mobile.ui.PopOver; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoMobilePopOver = function() { this.data("kendoMobilePopOver", new kendo.mobile.ui.PopOver()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobilePopOver: function() { /// /// /// Returns a reference to the kendo.mobile.ui.PopOver widget, instantiated on the selector. /// /// The kendo.mobile.ui.PopOver instance (if present). /// }, kendoMobilePopOver: 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 /// /// } }); intellisense.annotate(kendo.mobile.ui, { ScrollView: function() { /// /// Constructor of kendo.mobile.ui.ScrollView /// } }); kendo.mobile.ui.ScrollView = (function() { var original = kendo.mobile.ui.ScrollView; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { 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. /// /// }, next: function() { /// /// /// Switches to the next page with animation. /// /// }, prev: function() { /// /// /// Switches to the previous page with animation. /// /// }, 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. /// }, setDataSource: function(dataSource) { /// /// /// Sets the DataSource of an existing ScrollView and rebinds it. /// /// /// }, value: function(dataItem) { /// /// /// Works in data-bound mode only. If a parameter is passed, the widget scrolls to the given dataItem. If not, the method return currently displayed dataItem. /// /// The dataItem to set. /// The currently displayed dataItem. /// }, 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.kendoMobileScrollView = function() { this.data("kendoMobileScrollView", new kendo.mobile.ui.ScrollView()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileScrollView: function() { /// /// /// Returns a reference to the kendo.mobile.ui.ScrollView widget, instantiated on the selector. /// /// The kendo.mobile.ui.ScrollView instance (if present). /// }, kendoMobileScrollView: 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: /// /// autoBind - Boolean (default: true) /// If set to false the widget will not bind to the DataSource 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 DataSource specified in the configuration.Applicable only in data bound mode. /// /// bounceVelocityThreshold - Number (default: 1.6) /// The velocity threshold after which a swipe will result in a bounce effect. /// /// contentHeight - Number|String (default: "auto") /// The height of the ScrollView content. Supports 100% if the ScrollView is embedded in a stretched view and the ScrollView element is an immediate child of the view element. /// /// dataSource - kendo.data.DataSource|Object /// Instance of DataSource that the mobile ScrollView will be bound to. If DataSource is set, the widget will operate in data bound mode. /// /// duration - Number (default: 400) /// The milliseconds that take the ScrollView to snap to the current page after released. /// /// emptyTemplate - String (default: "") /// The template which is used to render the pages without content. By default the ScrollView renders a blank page.Applicable only in data bound mode. /// /// enablePager - Boolean (default: true) /// If set to true the ScrollView will display a pager. By default pager is enabled. /// /// itemsPerPage - Number (default: 1) /// Determines how many data items will be passed to the page template.Applicable only in data bound mode. /// /// 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.Not applicable in data bound mode. /// /// template - String (default: "#:data#") /// The template which is used to render the content of pages. By default the ScrollView renders a div element for every page.Applicable only in data bound mode. /// /// 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 /// /// } }); intellisense.annotate(kendo.mobile.ui, { Scroller: function() { /// /// Constructor of kendo.mobile.ui.Scroller /// } }); kendo.mobile.ui.Scroller = (function() { var original = kendo.mobile.ui.Scroller; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { animatedScrollTo: function(x,y) { /// /// /// Scrolls the scroll container to the specified location with animation. The arguments should be negative numbers. /// /// The horizontal offset in pixels to scroll to. /// The vertical offset in pixels to scroll to. /// }, contentResized: function() { /// /// /// Updates the scroller dimensions. Should be called after the contents of the scroller update their size /// /// }, 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. /// /// }, disable: function() { /// /// /// Disables the scrolling of the element. /// /// }, enable: function() { /// /// /// Enables the scrolling of the element after it has been disabled by calling disable. /// /// }, height: function() { /// /// /// Returns the viewport height of the scrollable element. /// /// the viewport height in pixels. /// }, 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. /// /// }, zoomOut: function() { /// /// /// Zooms the scroller out to the minimum zoom level possible. /// /// }, 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.kendoMobileScroller = function() { this.data("kendoMobileScroller", new kendo.mobile.ui.Scroller()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileScroller: function() { /// /// /// Returns a reference to the kendo.mobile.ui.Scroller widget, instantiated on the selector. /// /// The kendo.mobile.ui.Scroller instance (if present). /// }, kendoMobileScroller: 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: /// /// elastic - Boolean (default: true) /// Whether or not to allow out of bounds dragging and easing. /// /// messages - Object /// Defines the text of the Scroller pull to refresh messages. Used primary for localization. /// /// pullOffset - Number (default: 140) /// The threshold below which releasing the scroller will trigger the pull event. 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. /// /// useNative - Boolean (default: false) /// 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. /// /// visibleScrollHints - Boolean (default: false) /// If set to true, the scroller scroll hints will always be displayed. /// /// zoom - Boolean (default: false) /// If set to true, the user can zoom in/out the contents of the widget using the pinch/zoom gesture. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.mobile.ui, { SplitView: function() { /// /// Constructor of kendo.mobile.ui.SplitView /// } }); kendo.mobile.ui.SplitView = (function() { var original = kendo.mobile.ui.SplitView; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { 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. /// /// }, expandPanes: function() { /// /// /// Displays the collapsible panes; has effect only when the device is in portrait orientation. /// /// }, collapsePanes: function() { /// /// /// Collapses back the collapsible panes (displayed previously with expandPanes); has effect only when the device is in portrait orientation. /// /// }, 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.kendoMobileSplitView = function() { this.data("kendoMobileSplitView", new kendo.mobile.ui.SplitView()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileSplitView: function() { /// /// /// Returns a reference to the kendo.mobile.ui.SplitView widget, instantiated on the selector. /// /// The kendo.mobile.ui.SplitView instance (if present). /// }, kendoMobileSplitView: 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 /// /// } }); intellisense.annotate(kendo.mobile.ui, { Switch: function() { /// /// Constructor of kendo.mobile.ui.Switch /// } }); kendo.mobile.ui.Switch = (function() { var original = kendo.mobile.ui.Switch; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { 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. /// /// }, enable: function(enable) { /// /// /// Changes the enabled state of the widget. /// /// Whether to enable or disable the widget. /// }, refresh: function() { /// /// /// Forces the Switch to recalculate its dimensions. Useful when major changes in the interface happen dynamically, like for instance changing the skin. /// /// }, 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoMobileSwitch = function() { this.data("kendoMobileSwitch", new kendo.mobile.ui.Switch()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileSwitch: function() { /// /// /// Returns a reference to the kendo.mobile.ui.Switch widget, instantiated on the selector. /// /// The kendo.mobile.ui.Switch instance (if present). /// }, kendoMobileSwitch: 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. /// /// enable - Boolean (default: true) /// If set to false the widget will be disabled and will not allow the user to change its checked state. The widget is enabled by default. /// /// offLabel - String (default: "OFF") /// The OFF label. /// /// onLabel - String (default: "ON") /// The ON label. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.mobile.ui, { TabStrip: function() { /// /// Constructor of kendo.mobile.ui.TabStrip /// } }); kendo.mobile.ui.TabStrip = (function() { var original = kendo.mobile.ui.TabStrip; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { 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 or zero based index of the tab. /// }, switchByFullUrl: function(url) { /// /// /// Set the mobile TabStrip active tab to the tab with the specified full 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoMobileTabStrip = function() { this.data("kendoMobileTabStrip", new kendo.mobile.ui.TabStrip()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileTabStrip: function() { /// /// /// Returns a reference to the kendo.mobile.ui.TabStrip widget, instantiated on the selector. /// /// The kendo.mobile.ui.TabStrip instance (if present). /// }, kendoMobileTabStrip: 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 /// /// } }); intellisense.annotate(kendo.mobile.ui, { View: function() { /// /// Constructor of kendo.mobile.ui.View /// } }); kendo.mobile.ui.View = (function() { var original = kendo.mobile.ui.View; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { 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. /// /// }, 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. /// /// }, enable: function(enable) { /// /// /// Enables or disables the user interaction with the view and its contents. /// /// Omitting the parameter or passing true enables the view. Passing false disables the view. /// }, 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.kendoMobileView = function() { this.data("kendoMobileView", new kendo.mobile.ui.View()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileView: function() { /// /// /// Returns a reference to the kendo.mobile.ui.View widget, instantiated on the selector. /// /// The kendo.mobile.ui.View instance (if present). /// }, kendoMobileView: 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: false) /// 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. /// /// scroller - Object (default: null) /// Configuration options to be passed to the scroller instance instantiated by the view. For more details, check the scroller configuration options. /// /// 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) /// 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 > 5+, Android > 3+, 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 /// /// } }); 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.kendoMobileWidget = function() { this.data("kendoMobileWidget", new kendo.mobile.ui.Widget()); return this; }; intellisense.annotate(jQuery.fn, { getKendoMobileWidget: function() { /// /// /// Returns a reference to the kendo.mobile.ui.Widget widget, instantiated on the selector. /// /// The kendo.mobile.ui.Widget instance (if present). /// }, kendoMobileWidget: 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.ooxml, { Workbook: function() { /// /// Constructor of kendo.ooxml.Workbook /// } }); kendo.ooxml.Workbook = (function() { var original = kendo.ooxml.Workbook; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { toDataURL: function() { /// /// /// Creates an Excel file that represents the current workbook and returns it as a data URL. /// /// - the Excel file as data URL. /// }, toDataURLAsync: function() { /// /// /// Creates an Excel file that represents the current workbook and returns a Promise that is resolved with the data URL. /// /// - A promise that will be resolved with the Excel file as data URL. /// }, 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.spreadsheet, { CustomFilter: function() { /// /// Constructor of kendo.spreadsheet.CustomFilter /// } }); kendo.spreadsheet.CustomFilter = (function() { var original = kendo.spreadsheet.CustomFilter; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { init: function(options) { /// /// /// The constructor of the filter. /// /// An object which may contain the following keys: logic - string - either "and" or "or". or criteria - an array of objects, containing operator (String) and value (String|Date|Number) fields.. The supported criteria operators are: eq (equal to), neq (not equal to), lt (less than), lte (less than or equal to), gt (greater than), gte (greater than or equal to). In addition, startswith, endswith, contains, doesnotstartwith and doesnotendwith are supported for cells that contain strings. /// }, 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.spreadsheet, { DynamicFilter: function() { /// /// Constructor of kendo.spreadsheet.DynamicFilter /// } }); kendo.spreadsheet.DynamicFilter = (function() { var original = kendo.spreadsheet.DynamicFilter; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { init: function(options) { /// /// /// The constructor of the filter. /// /// An object which should have a type field set to: "belowAverage", "aboveAverage", "bottomPercent", or "bottomNumber" for numbers. or "tomorrow", "today", "yesterday", "nextWeek", "thisWeek", "lastWeek", "nextMonth", "thisMonth", "lastMonth", "nextQuarter", "thisQuarter","lastQuarter", "nextYear", "thisYear", "lastYear", "yearToDate" for date fields. "quarter1", "quarter2", "quarter3", "quarter4" and month (en-US) names are also accepted.. /// }, 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.spreadsheet, { Range: function() { /// /// Constructor of kendo.spreadsheet.Range /// } }); kendo.spreadsheet.Range = (function() { var original = kendo.spreadsheet.Range; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { background: function(value) { /// /// /// Gets or sets the background color of the cells in the range. /// /// Any valid CSS color. /// the current background color of the top-left cell of the range. /// }, bold: function(value) { /// /// /// Gets or sets the bold state of the cells in the range. /// /// True to make the text bold; false otherwise. /// the current bold state of the top-left cell of the range. /// }, borderBottom: function(value) { /// /// /// Gets or sets the state of the bottom border of the cells. If the range includes more than a single cell, the setting is applied to all cells. /// /// The border configuration object. It may contain size and color keys.The color may be set to any valid CSS color. The size should be the border width in pixels (numeric, not string). /// the current value of the top-left cell of the range. /// }, borderLeft: function(value) { /// /// /// Gets or sets the state of the left border of the cells. If the range includes more than a single cell, the setting is applied to all cells. /// /// The border configuration object. It may contain size and color keys.The color may be set to any valid CSS color. The size should be the border width in pixels (numeric, not string). /// the current value of the top-left cell of the range. /// }, borderRight: function(value) { /// /// /// Gets or sets the state of the right border of the cells. If the range includes more than a single cell, the setting is applied to all cells. /// /// The border configuration object. It may contain size and color keys.The color may be set to any valid CSS color. The size should be the border width in pixels (numeric, not string). /// the current value of the top-left cell of the range. /// }, borderTop: function(value) { /// /// /// Gets or sets the state of the top border of the cells. If the range includes more than a single cell, the setting is applied to all cells. /// /// The border configuration object. It may contain size and color keys.The color may be set to any valid CSS color. The size should be the border width in pixels (numeric, not string). /// the current value of the top-left cell of the range. /// }, color: function(value) { /// /// /// Gets or sets the text color of the range. /// /// Any valid CSS color. /// the current color of the top-left cell of the range. /// }, comment: function(value) { /// /// /// Gets or sets the comment for the cells. The comment is a text tooltip that appears when the cell is hovered. /// /// Text comment. Pass null to remove the comment. /// the current comment of the top-left cell in the range. /// }, clear: function(options) { /// /// /// Clears the contents of the range cells. /// /// An object which may contain contentsOnly: true or formatOnly: true key values. Clearing the format will remove the cell formatting and visual styles.If a parameter is not passed, the method will clear both the cells values and the formatting. /// }, clearFilter: function(indices) { /// /// /// Clears the set filters for the given column(s). The indices is relative to the beginning of the range. /// /// The column(s) which filters should be cleared. /// }, editor: function(value) { /// /// /// Gets or sets the editor of the cells in the range. /// /// The name of the custom cell editor, registered as described in this help article /// name of the custom cell editor. /// }, enable: function(value) { /// /// /// Gets or sets the disabled state of the cells in the range. /// /// True to make the cell enabled; false to disable it. /// the current disabled state of the top-left cell of the range. /// }, fillFrom: function(srcRange,direction) { /// /// /// Fills a range with values inferred from a source range. This method employs some heuristics similar to what Excel's auto-filling algorithm does when you select a range of cells and drag the bottom-right handle. The range to be filled is the current object, and you must pass a source range containing data as first argument. /// /// The source range. It must have the same number of rows or the same number of columns as the current range — otherwise an exception will be thrown (a Range.FillError object having code property "incompatibleRanges"). /// Specifies the fill direction. If the source range (srcRange) and target range (the current object) are adjacent, the fill direction can be inferred from their positions, so it can be missing. For example:In this case it will select vertical reverse filling, because the target range is above the source range.If the ranges are not adjacent and the direction is missing, an exception will be thrown if the ranges don't start either on same column or on the same row ("noFillDirection" error code).Possible values for direction: 0 — fill top-down; 1 — fill left-to-right; 2 — fill bottom-up or 3 — fill right-to-left. /// }, filter: function(filter) { /// /// /// Enables/disables or sets the filter for a given range. /// /// Determines the action performed by the method. Passing true enables the filtering for the given range.; Passing false disables and clears the set filters.; Passing a { column: Number, filter: kendo.spreadsheet.Filter } object applies the filter to the respective column. or Passing an array of { column: Number, filter: kendo.spreadsheet.Filter } objects applies each filter to the respective column. The column index is relative to the beginning of the range.. /// }, fontFamily: function(value) { /// /// /// Gets or sets the font family of the cells in the range. /// /// The font family that should be set. /// the font family of the top-left cell of the range. /// }, fontSize: function(value) { /// /// /// Gets or sets the font size of the cells in the range. /// /// The font size (in pixels) that should be set. /// the font size of the top-left cell of the range. /// }, forEachCell: function(callback) { /// /// /// Executes a function for each cell in the range. /// /// The function that will be executed against every cell. The function receives the following parameters: rowIndex - the row index of the cell; columnIndex - the column index of the cell or value - the cell properties. /// }, format: function(format) { /// /// /// Gets or sets the format of the cells. /// /// The new format for the cells. /// the format of the top-left cell of the range. When used as a setter, format returns the Range object to allow chained calls.More details about the supported format may be found in the cell formatting help topic. /// }, formula: function(formula) { /// /// /// Gets or sets the formula of the cells. /// /// The new formula of the cell. The string may optionally start with =. /// the formula of the top-left cell of the range. /// }, hasFilter: function() { /// /// /// Returns true if the sheet of the range has filter enabled. /// /// true if the sheet has a filter, false otherwise. /// }, input: function(value) { /// /// /// Gets or sets the value of the cells. This is similar to value, but it parses the argument as if it was entered through the text box: if it starts with = (equal sign), a formula is set. This may throw an error if the formula is syntactically invalid. Example: range("C1").input("=A1+B1").; if it looks like a number, a numeric value (not string) is set.; if it's true or false (case-insensitive) the respective boolean value is set.; if it's a Date object, or a string that can be parsed as a date, it is converted to the numerical representation of the date. or if it starts with ' (single quote), a string containing the rest of the characters is set. Example: range("A1").input("'TRUE") — sets the text "TRUE", not the boolean.. /// /// The value to be set to the cells. /// the current value of the top-left cell of the range. /// }, isSortable: function() { /// /// /// Returns if a range can be sorted. /// /// whether the range can be sorted. /// }, isFilterable: function() { /// /// /// Returns if a range can be filtered. /// /// whether the range can be filtered. /// }, italic: function(value) { /// /// /// Gets or sets the italic state of the cells in the range. /// /// True will make the text of the cells italic; false otherwise. /// the current italic state of the top-left cell of the range. /// }, link: function(url) { /// /// /// Gets or sets the hyperlink of the cells in the range. /// /// Pass a string (the URL) to create a hyperlink. Pass null to remove the link. Omit argument to get the existing URL, if any. /// the current hyperlink attribute of the top-left cell of the range. /// }, merge: function() { /// /// /// Merges the range cells into a single merged cell. If the range already includes a merged cell, they are merged, too. /// /// }, select: function() { /// /// /// Sets the sheet selection to the range cells.`````` /// /// }, sort: function(sort) { /// /// /// Sorts the rows in the range. /// /// Determines the action performed by the method. Passing a number n sorts the nth column in the range, in ascending order.; Passing a { column: Number, ascending: Boolean } sorts the respective column in ascending / descending order, based on the ascending parameter. The column index is relative to the beginning of the range. or Passing an array of { column: Number, ascending: Boolean } objects sorts each column, specified by the index.. /// }, textAlign: function(value) { /// /// /// Gets or sets the text alignment of the cells in the range. /// /// One of the following values: "left", "center", "right" and "justify". /// the current text alignment of the top-left cell of the range. /// }, unmerge: function() { /// /// /// Un-merges any merged cells which are included in the range.`````` /// /// }, values: function(values) { /// /// /// Gets or sets the values of the range cells. The argument should be an array of arrays which match the dimensions of the range. /// /// The cell values. /// the cell values. /// }, validation: function(value) { /// /// /// Gets or sets the validation of the cells. /// /// The validation configuration object. It may contain type, comparerType, dataType, from, to, allowNulls, messageTemplate and titleTemplate keys.The type Can be set to "warning" or "reject". By default the type is "warning".The comparerType Can be set to "greaterThan", "lessThan", "between", "equalTo", "notEqualTo", "greaterThanOrEqualTo", "lessThanOrEqualTo", "notBetween" or "custom".The dataType Can be set to "date", "text", "number", "list" or "custom".The from This key holds formula or value. Used as first or only compare value depending on specified comparer.The to This key can be set to formula or value. It's optional depending on the specified comparer.The allowNulls Can be set to boolean value.The messageTemplate The message which will be displayed in the "reject" validation window.The titleTemplate The title of the "reject" validation window. /// the current validation of the top-left cell of the range. /// }, value: function(value) { /// /// /// Gets or sets the value of the cells. /// /// The value to be set to the cells. /// the current value of the top-left cell of the range. /// }, verticalAlign: function(value) { /// /// /// Gets or sets the vertical alignment of the cells in the range. /// /// One of the following values: "top", "center" and "bottom". /// the current text alignment of the top-left cell of the range. /// }, wrap: function(value) { /// /// /// Gets or sets the wrap of the range cells. /// /// if to enable wrapping, false otherwise. /// the current wrap state of the top-left cell of the range. /// }, 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.spreadsheet, { Sheet: function() { /// /// Constructor of kendo.spreadsheet.Sheet /// } }); kendo.spreadsheet.Sheet = (function() { var original = kendo.spreadsheet.Sheet; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { addDrawing: function(drawing) { /// /// /// Adds a new drawing to this sheet. /// /// This can contain the same properties as you can pass tosheets.drawings configuration options. /// an internal Drawing object containing the passed properties. The internals of this object are not intended to be public API at this point, but you can pass this object reference to removeDrawing if you want to remove this drawing. /// }, clearFilter: function(indexes) { /// /// /// Clears the filters for the passed column index. If an array is passed, clearFilter will clear the filter for each column index. /// /// The column index(es) /// }, columnWidth: function(index,width) { /// /// /// Gets or sets the width of the column at the given index. /// /// The zero-based index of the column /// If passed, the method will set the width of the column at the passed index. /// }, batch: function(callback,changeEventArgs) { /// /// /// Suppresses triggering of change events for a sequence of actions. Triggers a single change event at the end of the sequence.Greatly improves performance when calling multiple methods that change the sheet state, as the widget will be refreshed once. /// /// The sequence of actions that will be executed without triggering a change event. /// The change event arguments that will be used for the change event triggered after the callback finishes executing. /// }, deleteColumn: function(index) { /// /// /// Deletes the contents of the column at the provided index and shifts the remaining contents of the sheet to the left. /// /// The zero-based index of the column /// }, deleteRow: function(index) { /// /// /// Deletes the contents of the row at the provided index and shifts the remaining contents of the sheet up. /// /// The zero-based index of the row /// }, fromJSON: function(data) { /// /// /// Loads the sheet from an object in the format defined in the sheet configuration. /// /// The object to load data from. This should be the deserialized object, not the JSON string. /// }, frozenColumns: function(count) { /// /// /// Gets or sets the amount of frozen columns displayed by the sheet. /// /// The amount of columns to be frozen. Pass 0 to remove the frozen pane. /// The current frozen columns. By default, returns 0. /// }, frozenRows: function(count) { /// /// /// Gets or sets the amount of frozen rows displayed by the sheet. /// /// The amount of columns to be frozen. Pass 0 to remove the frozen pane. /// The current frozen rows. By default, returns 0. /// }, hideColumn: function(index) { /// /// /// Hides the column at the provided index. /// /// The zero-based index of the column /// }, hideRow: function(index) { /// /// /// Hides the row at the provided index. /// /// The zero-based index of the row /// }, insertColumn: function(index) { /// /// /// Inserts a new, empty column at the provided index. The contents of the spreadsheet (including the ones in the current column index) are shifted to the right. /// /// The zero-based index of the column /// }, insertRow: function(index) { /// /// /// Inserts a new, empty row at the provided index. The contents of the spreadsheet (including the ones in the current row index) are shifted down. /// /// The zero-based index of the column /// }, range: function(ref,rowIndex,columnIndex,rowCount,columnCount) { /// /// /// Returns a Range for the given range specification. /// /// /// /// /// /// If the parameter is a string, it should represent an A1 or RC notation reference of the cells.If the parameters are Numbers, the first two would represent the row index (the first parameter) and the column index (the second parameter) of the top-left cell of the range. If there are only two parameters, only one cell will be included in the range. If the other two Numbers are also present, they will represent the number of rows (the third parameter) and number of columns (the forth parameter) that would be included in the range, starting from the specified top-left cell. If the third or the forth parameter is set to 0 or 1, only one row / column will be included in the range. /// a range object, which may be used to manipulate the cell state further. /// }, removeDrawing: function(drawing) { /// /// /// Removes a drawing previously added with addDrawing. /// /// The drawing object. /// }, rowHeight: function(index,width) { /// /// /// Gets or sets the height of the row at the given index. /// /// The zero-based index of the row /// If passed, the method will set the height of the row at the passed index. /// }, selection: function() { /// /// /// Returns a range with the current active selection. /// /// the selection range. /// }, setDataSource: function(dataSource,columns) { /// /// /// Binds the sheet to a DataSource instance. For more information on the data-binding Spreadsheet functionality, refer to the article on binding the Spreadsheet to a data source. /// /// The DataSource instance. /// Columns configuration. /// }, showGridLines: function(showGridLines) { /// /// /// Gets or sets a flag indicating if the grid lines should be visible. /// /// If passed, the method will toggle the display of the grid lines according to the value. /// True if the grid lines are currently visible, false otherwise. /// }, toJSON: function() { /// /// /// Serializes the sheet in the format defined in the sheet configuration. /// /// }, unhideColumn: function(index) { /// /// /// Shows the hidden column at the provided index. Does not have any effect if the column is already visible. /// /// The zero-based index of the column /// }, unhideRow: function(index) { /// /// /// Shows the hidden row at the provided index. Does not have any effect if the row is already visible. /// /// The zero-based index of the row /// }, 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.spreadsheet, { TopFilter: function() { /// /// Constructor of kendo.spreadsheet.TopFilter /// } }); kendo.spreadsheet.TopFilter = (function() { var original = kendo.spreadsheet.TopFilter; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { init: function(options) { /// /// /// The constructor of the filter. /// /// An object which may contain the following keys: type - String - can be "topPercent", "topNumber", "bottomPercent", or "bottomNumber". or value - Number, the count | percentage of items to display.. /// }, 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.spreadsheet, { ValueFilter: function() { /// /// Constructor of kendo.spreadsheet.ValueFilter /// } }); kendo.spreadsheet.ValueFilter = (function() { var original = kendo.spreadsheet.ValueFilter; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { init: function(options) { /// /// /// The constructor of the filter. /// /// An object which may contain the following keys: values - an array of the matching values that should be preserved.; blanks - if set as true, empty cells will be shown, too. or dates - an array which works like the values option, but performs partial matching for date values. It should contain objects with year, month, day, hours, minutes, and seconds. Each field is optional.. /// }, 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.ui, { Alert: function() { /// /// Constructor of kendo.ui.Alert /// } }); kendo.ui.Alert = (function() { var original = kendo.ui.Alert; 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.kendoAlert = function() { this.data("kendoAlert", new kendo.ui.Alert()); return this; }; intellisense.annotate(jQuery.fn, { getKendoAlert: function() { /// /// /// Returns a reference to the kendo.ui.Alert widget, instantiated on the selector. /// /// The kendo.ui.Alert instance (if present). /// }, kendoAlert: function(options) { /// /// /// Instantiates a kendo.ui.Alert widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// messages - Object /// Defines the text of the labels that are shown within the alert dialog. Used primarily for localization. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { AutoComplete: function() { /// /// Constructor of kendo.ui.AutoComplete /// } }); kendo.ui.AutoComplete = (function() { var original = kendo.ui.AutoComplete; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { close: function() { /// /// /// Closes the widget suggestion popup. /// /// }, dataItem: function(index) { /// /// /// Returns the data item at the specified index. /// /// The zero-based index of of the data item. /// the data item at the specified index. Returns undefined if the index is not within bounds. /// }, 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. /// /// }, enable: function(enable) { /// /// /// Enables or disables the widget. /// /// If set to true the widget will be enabled. If set to false the widget will be disabled. /// }, focus: function() { /// /// /// Focuses the widget. /// /// }, items: function() { /// /// /// Obtains an Array of the DOM elements, which correspond to the data items from the Kendo UI DataSource view (e.g. the ones that match the user's last filtering input). /// /// The currently rendered dropdown list items (
  • elements). /// }, readonly: function(readonly) { /// /// /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input. /// /// If set to true the widget will not allow user input. If set to false the widget will allow user input. /// }, refresh: function() { /// /// /// Refresh the suggestion popup by rendering all items again. /// /// }, search: function(word) { /// /// /// Searches the data source for the provided value and displays any matches as suggestions. /// /// The value to search for. All matches are displayed in the suggestion popup. /// }, select: function(item) { /// /// /// Selects the item provided as an argument and updates the value of the widget. /// /// A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector. /// }, setDataSource: function(dataSource) { /// /// /// Sets the data source of the widget. /// /// The data source to which the widget should be bound. /// }, suggest: function(value) { /// /// /// Sets the value of the widget to the specified argument and visually selects the text. /// /// The value to set. /// }, value: function(value) { /// /// /// Gets or sets the value of the widget. /// /// The value to set. /// the value 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoAutoComplete = function() { this.data("kendoAutoComplete", new kendo.ui.AutoComplete()); return this; }; intellisense.annotate(jQuery.fn, { getKendoAutoComplete: function() { /// /// /// Returns a reference to the kendo.ui.AutoComplete widget, instantiated on the selector. /// /// The kendo.ui.AutoComplete instance (if present). /// }, kendoAutoComplete: function(options) { /// /// /// Instantiates a kendo.ui.AutoComplete widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// animation - Boolean /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result the suggestion popup will open and close instantly. is not a valid configuration. /// /// animation - Object /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result the suggestion popup will open and close instantly. is not a valid configuration. /// /// autoWidth - Boolean /// If set to true, the widget automatically adjusts the width of the popup element and does not wrap up the item label. /// /// dataSource - Object|Array|kendo.data.DataSource /// The data source of the widget which is used to display suggestions for the current value. 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. /// /// clearButton - Boolean (default: true) /// Unless this options is set to false, a button will appear when hovering the widget. Clicking that button will reset the widget's value and will trigger the change event. /// /// dataTextField - String (default: null) /// The field of the data item used when searching for suggestions. This is the text that will be displayed in the list of matched results. /// /// delay - Number (default: 200) /// The delay in milliseconds between a keystroke and when the widget displays the suggestion popup. /// /// enable - Boolean (default: true) /// If set to false the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input. /// /// enforceMinLength - Boolean (default: false) /// If set to true the widget will not show all items when the text of the search input cleared. By default the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength. /// /// filter - String (default: "startswith") /// The filtering method used to determine the suggestions for the current value. The default filter is "startswith" - all data items which begin with the current widget value are displayed in the suggestion popup. The supported filter values are startswith, endswith and contains. /// /// fixedGroupTemplate - String|Function /// The template used to render the fixed header group. By default the widget displays only the value of the current group. /// /// footerTemplate - String|Function /// The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template. /// /// groupTemplate - String|Function /// The template used to render the groups. By default the widget displays only the value of the group. /// /// height - Number (default: 200) /// The height of the suggestion popup in pixels. The default value is 200 pixels. /// /// highlightFirst - Boolean (default: true) /// If set to true the first suggestion will be automatically highlighted. /// /// ignoreCase - Boolean (default: true) /// If set to false case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default. /// /// minLength - Number (default: 1) /// The minimum number of characters the user must type before a search is performed. Set to higher value than 1 if the search could match a lot of items. /// /// noDataTemplate - String|Function (default: "NO DATA FOUND.") /// The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound. /// /// placeholder - String (default: "") /// The hint displayed by the widget when it is empty. Not set by default. /// /// popup - Object /// The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation. /// /// separator - String|Array (default: "") /// The character used to separate multiple values. Empty by default. /// /// suggest - Boolean (default: false) /// If set to true the widget will automatically use the first suggestion as its value. /// /// headerTemplate - String|Function /// Specifies a static HTML content, which will be rendered as a header of the popup element. /// /// template - String|Function /// The template used to render the suggestions. By default the widget displays only the text of the suggestion (configured via dataTextField). /// /// value - String (default: "") /// The value of the widget. /// /// valuePrimitive - Boolean (default: false) /// Specifies the value binding behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item text field. If set to false, the View-Model field will be updated with the selected item. /// /// virtual - Boolean (default: false) /// Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization. /// /// virtual - Object (default: false) /// Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { Button: function() { /// /// Constructor of kendo.ui.Button /// } }); kendo.ui.Button = (function() { var original = kendo.ui.Button; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { enable: function(toggle) { /// /// /// Enables or disables the Button. /// /// Indicates whether the Button should be enabled or disabled. true and false arguments are accepted. If no argument is supplied, the Button will assume true and will be enabled. /// }, 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.kendoButton = function() { this.data("kendoButton", new kendo.ui.Button()); return this; }; intellisense.annotate(jQuery.fn, { getKendoButton: function() { /// /// /// Returns a reference to the kendo.ui.Button widget, instantiated on the selector. /// /// The kendo.ui.Button instance (if present). /// }, kendoButton: function(options) { /// /// /// Instantiates a kendo.ui.Button widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// enable - Boolean (default: true) /// Indicates whether the Button should be enabled or disabled. By default, it is enabled, unless a disabled="disabled" attribute is detected. /// /// icon - String /// Defines a name of an existing icon in the Kendo UI theme sprite. The icon will be applied as background image of a span element inside the Button. The span element can be added automatically by the widget, or an existing element can be used, if it has a k-icon CSS class applied. For a list of available icon names, please refer to the Icons demo. /// /// iconClass - String /// Defines a CSS class - or multiple classes separated by spaced - which are applied to a span element inside the Button. Allows the usage of custom icons. /// /// imageUrl - String /// Defines a URL, which will be used for an img element inside the Button. The URL can be relative or absolute. In case it is relative, it will be evaluated with relation to the web page URL.The img element can be added automatically by the widget, or an existing element can be used, if it has a k-image CSS class applied. /// /// spriteCssClass - String /// Defines a CSS class (or multiple classes separated by spaces), which will be used for applying a background image to a span element inside the Button. In case you want to use an icon from the Kendo UI theme sprite background image, it is easier to use the icon property.The span element can be added automatically by the widget, or an existing element can be used, if it has a k-sprite CSS class applied. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { ButtonGroup: function() { /// /// Constructor of kendo.ui.ButtonGroup /// } }); kendo.ui.ButtonGroup = (function() { var original = kendo.ui.ButtonGroup; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { badge: function(button,value) { /// /// /// /// /// 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. /// the badge value if invoked without parameters, otherwise 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. /// /// }, enable: function(enable) { /// /// /// Enables or disables the widget. /// /// A boolean flag that indicates whether the widget should be enabled or disabled. /// }, 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoButtonGroup = function() { this.data("kendoButtonGroup", new kendo.ui.ButtonGroup()); return this; }; intellisense.annotate(jQuery.fn, { getKendoButtonGroup: function() { /// /// /// Returns a reference to the kendo.ui.ButtonGroup widget, instantiated on the selector. /// /// The kendo.ui.ButtonGroup instance (if present). /// }, kendoButtonGroup: function(options) { /// /// /// Instantiates a kendo.ui.ButtonGroup widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// enable - Boolean (default: true) /// Defines if the widget is initially enabled or disabled. By default, it is enabled. /// /// index - Number /// Defines the initially selected Button (zero based index). /// /// selection - String (default: default "single") /// Defines the selection type. /// /// items - Array /// A JavaScript array that contains the ButtonGroup's items configuration. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { Calendar: function() { /// /// Constructor of kendo.ui.Calendar /// } }); kendo.ui.Calendar = (function() { var original = kendo.ui.Calendar; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { current: function() { /// /// /// Gets currently focused date. /// /// The current focused date shown in the calendar. /// }, destroy: function() { /// /// /// Prepares the Calendar 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. /// /// }, max: function(value) { /// /// /// Gets/Sets the max value of the calendar. /// /// The max date to set. /// The max value of the calendar. /// }, min: function(value) { /// /// /// Gets/Sets the min value of the calendar. /// /// The min date to set. /// The min value of the calendar. /// }, navigate: function(value,view) { /// /// /// Navigates to view. /// /// Desired date. /// Desired view. /// }, navigateDown: function(value) { /// /// /// Navigates to the lower view. /// /// Desired date. /// }, navigateToFuture: function() { /// /// /// Navigates to the future. /// /// }, navigateToPast: function() { /// /// /// Navigates to the past. /// /// }, navigateUp: function() { /// /// /// Navigates to the upper view. /// /// }, selectDates: function() { /// /// /// Gets/Sets the selected dates for the calendar. /// /// }, value: function(value) { /// /// /// Gets/Sets the value of the calendar. /// /// The date to set. /// The value of the calendar. /// }, view: function() { /// /// /// Gets an instance of the current view used by the calendar. /// /// The instance of the current view used by the calendar. /// }, 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.kendoCalendar = function() { this.data("kendoCalendar", new kendo.ui.Calendar()); return this; }; intellisense.annotate(jQuery.fn, { getKendoCalendar: function() { /// /// /// Returns a reference to the kendo.ui.Calendar widget, instantiated on the selector. /// /// The kendo.ui.Calendar instance (if present). /// }, kendoCalendar: function(options) { /// /// /// Instantiates a kendo.ui.Calendar widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// culture - String (default: "en-US") /// Specifies the culture info used by the widget. /// /// dates - Array /// Specifies a list of dates, which will be passed to the month template. /// /// depth - String /// Specifies the navigation depth. The following settings are available for the depth value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century.. /// /// disableDates - Array|Function (default: null) /// An array or function that will be used to determine which dates to be disabled in the calendar. /// /// footer - String|Function /// The template which renders the footer. If false, the footer will not be rendered. /// /// format - String (default: "M/d/yyyy") /// Specifies the format, which is used to parse value set with value() method. /// /// max - Date (default: Date(2099, 11, 31)) /// Specifies the maximum date, which the calendar can show. /// /// messages - Object /// Allows localization of the strings that are used in the widget. /// /// min - Date (default: Date(1900, 0, 1)) /// Specifies the minimum date, which the calendar can show. /// /// month - Object /// Templates for the cells rendered in "month" view. /// /// selectable - String (default: "single") /// By default user is able to select a single date. The property can also be set to "multiple" in order the multiple date selection to be enabled. More information about multiple selection can be found in the Selection article. /// /// selectDates - Array (default: []) /// Specifies which dates to be selected when the calendar is initialized. /// /// weekNumber - Boolean (default: false) /// If set to true a week of the year will be shown on the left side of the calendar. /// /// start - String (default: "month") /// Specifies the start view. The following settings are available for the start value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century.. /// /// value - Date (default: null) /// Specifies the selected date. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { Chat: function() { /// /// Constructor of kendo.ui.Chat /// } }); kendo.ui.Chat = (function() { var original = kendo.ui.Chat; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { getUser: function() { /// /// /// Gets the user information that is associated with the Chat instance. /// /// - The object with the user information. Contains the auto-generated id, name, and iconUrl. /// }, postMessage: function(message) { /// /// /// Triggers the post event with the message and renders it inside the widget. /// /// The text that will be sent and rendered. /// }, renderAttachments: function(options,sender) { /// /// /// Renders an attachment inside the Chat. The attachments are rendered through a predefined or custom template that is registered with the Chat. /// /// The configuration options for the attachment. /// The configuration object which contains information about the sender of the message bubble. Determines where the message will be rendered. /// }, renderMessage: function(message,sender) { /// /// /// Renders a message bubble inside the Chat. /// /// The configuration options for the message. /// The configuration object which contains information about the sender of the message bubble. Determines where the message will be rendered. /// }, renderSuggestedActions: function(suggestedActions) { /// /// /// Renders an array of suggested actions inside the chat. /// /// An array of suggestedAction objects. /// }, renderUserTypingIndicator: function(sender) { /// /// /// Renders the typing indicator for the specified user inside the chat. If a Chat indicator is already rendered, renderUserTypingIndicator will add the user to the typing list. /// /// The configuration object which contains information about the sender of the typing indicator bubble. /// }, clearUserTypingIndicator: function(sender) { /// /// /// Clears the typing indicator for the specified user inside the chat. If a typing indicator is rendered for multiple users, clearUserTypingIndicator will remove the name of the specified user from the typing list. /// /// The configuration object which contains information about the sender of the typing indicator bubble. /// }, removeTypingIndicator: function() { /// /// /// Removes the typing indicator bubble from the chat. If a typing indicator is rendered for multiple users, removeTypingIndicator will remove the entire bubble. /// /// }, toggleToolbar: function(skipEffects) { /// /// /// Toggles the Chat toolbar. /// /// If set to true, an animation will not play. /// }, 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.kendoChat = function() { this.data("kendoChat", new kendo.ui.Chat()); return this; }; intellisense.annotate(jQuery.fn, { getKendoChat: function() { /// /// /// Returns a reference to the kendo.ui.Chat widget, instantiated on the selector. /// /// The kendo.ui.Chat instance (if present). /// }, kendoChat: function(options) { /// /// /// Instantiates a kendo.ui.Chat widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// messages - Object /// Allows localization of the strings that are used in the widget. /// /// user - Object /// Configures the user information of the Chat. /// /// toolbar - Object /// Configures the toolbar of the Chat. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { ColorPalette: function() { /// /// Constructor of kendo.ui.ColorPalette /// } }); kendo.ui.ColorPalette = (function() { var original = kendo.ui.ColorPalette; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { value: function(color) { /// /// /// Get or set the selected color. If no argument is given, this returns the currently selected color as a string in format #FFFFFF.If one argument is given, it selects the new color and updates the UI. The argument can be a string in hex, rgb or rgba format, or a kendo.Color object object. /// /// /// the string representation of the current color. /// }, color: function(color) { /// /// /// Get or set the selected color. If no argument is given, this returns the currently selected color as a kendo.Color object. /// /// The color that should be set as the current value /// the current value /// }, enable: function(enable) { /// /// /// Enables or disables the widget. /// /// Whether the widget should be enabled (true) or disabled (false). If not specified, the method will enable 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoColorPalette = function() { this.data("kendoColorPalette", new kendo.ui.ColorPalette()); return this; }; intellisense.annotate(jQuery.fn, { getKendoColorPalette: function() { /// /// /// Returns a reference to the kendo.ui.ColorPalette widget, instantiated on the selector. /// /// The kendo.ui.ColorPalette instance (if present). /// }, kendoColorPalette: function(options) { /// /// /// Instantiates a kendo.ui.ColorPalette widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// palette - String|Array (default: "basic") /// Specifies the color palette to display. It can be a string with comma-separated colors in hex representation, an array of kendo.Color object objects or of strings that parseColor understands. As a shortcut, you can pass "basic" to get the simple palette (this is the default) or "websafe" to get the Web-safe palette. /// /// columns - Number (default: 10) /// The number of columns to display. When you use the "websafe" palette, this will automatically default to 18. /// /// tileSize - Number (default: 14) /// The size of a color cell. /// /// tileSize - Object (default: 14) /// The size of a color cell. /// /// value - String (default: null) /// Specifies the initially selected color. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { ColorPicker: function() { /// /// Constructor of kendo.ui.ColorPicker /// } }); kendo.ui.ColorPicker = (function() { var original = kendo.ui.ColorPicker; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { close: function() { /// /// /// Closes the popup. /// /// }, open: function() { /// /// /// Opens the popup element with the color selector. /// /// }, toggle: function() { /// /// /// Toggles the popup. /// /// }, value: function(color) { /// /// /// Get or set the selected color. If no argument is given, this returns the currently selected color as a string in format #FFFFFF when the opacity option is off, or rgba(255, 255, 255, 1) when opacity is requested.If one argument is given, it selects the new color and updates the UI. The argument can be a string in hex, rgb or rgba format, or a Color object. This does not trigger the "change" event. /// /// /// the string representation of the current color. /// }, color: function(color) { /// /// /// Get or set the selected color. If no argument is given, this returns the currently selected color as a kendo.Color object. /// /// The color that should be set as the current value /// the current value /// }, enable: function(enable) { /// /// /// Enables or disables the widget. /// /// Whether the widget should be enabled (true) or disabled (false). If not specified, the method will enable 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. /// } }); return instance; }; intellisense.redirectDefinition(wrapper, original); return wrapper; })(); jQuery.fn.kendoColorPicker = function() { this.data("kendoColorPicker", new kendo.ui.ColorPicker()); return this; }; intellisense.annotate(jQuery.fn, { getKendoColorPicker: function() { /// /// /// Returns a reference to the kendo.ui.ColorPicker widget, instantiated on the selector. /// /// The kendo.ui.ColorPicker instance (if present). /// }, kendoColorPicker: function(options) { /// /// /// Instantiates a kendo.ui.ColorPicker widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// buttons - Boolean (default: true) /// Specifies whether the widget should display the Apply / Cancel buttons.Applicable only for the HSV selector, when a pallete is not specified. /// /// clearButton - Boolean (default: false) /// Specifies whether the widget should display the 'Clear color' button.Applicable only for the HSV selector, when a pallete is not specified. /// /// columns - Number /// The number of columns to show in the color dropdown when a pallete is specified. This is automatically initialized for the "basic" and "websafe" palettes. If you use a custom palette then you can set this to some value that makes sense for your colors. /// /// tileSize - Number (default: 14) /// The size of a color cell. /// /// tileSize - Object (default: 14) /// The size of a color cell. /// /// messages - Object /// Allows localization of the strings that are used in the widget. /// /// palette - String|Array (default: null) /// When a non-null palette argument is supplied, the drop-down will be a simple color picker that lists the colors. The following are supported: "basic" -- displays 20 basic colors; "websafe" -- display the "web-safe" color palette or otherwise, pass a string with colors in HEX representation separated with commas, or an array of colors, and it will display that palette instead. If you pass an array it can contain strings supported by parseColor orColor objects.. If palette is missing or null, the widget will display the HSV selector. /// /// opacity - Boolean (default: false) /// Only for the HSV selector. If true, the widget will display the opacity slider. Note that currently in HTML5 the does not support opacity. /// /// preview - Boolean (default: true) /// Only applicable for the HSV selector.Displays the color preview element, along with an input field where the end user can paste a color in a CSS-supported notation. /// /// toolIcon - String (default: null) /// A CSS class name to display an icon in the color picker button. If specified, the HTML for the element will look like this: /// /// value - String (default: null) /// The initially selected color. Note that when initializing the widget from an element, the initial color will be decided by the field instead. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { ComboBox: function() { /// /// Constructor of kendo.ui.ComboBox /// } }); kendo.ui.ComboBox = (function() { var original = kendo.ui.ComboBox; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { close: function() { /// /// /// Closes the widget popup. /// /// }, dataItem: function(index) { /// /// /// Returns the data item at the specified index. If the index is not specified, the selected index will be used. /// /// The zero-based index of the data record. /// The raw data record. Returns undefined if no data. /// }, destroy: function() { /// /// /// Prepares the ComboBox 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. /// /// }, enable: function(enable) { /// /// /// Enables or disables the widget. /// /// If set to true the widget will be enabled. If set to false the widget will be disabled. /// }, focus: function() { /// /// /// Focuses the widget. /// /// }, items: function() { /// /// /// Obtains an Array of the DOM elements, which correspond to the data items from the Kendo UI DataSource view. /// /// The currently rendered dropdown list items (
  • elements). /// }, open: function() { /// /// /// Opens the popup. /// /// }, readonly: function(readonly) { /// /// /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input. /// /// If set to true the widget will not allow user input. If set to false the widget will allow user input. /// }, refresh: function() { /// /// /// Refresh the popup by rendering all items again. /// /// }, search: function(word) { /// /// /// Searches the data source for the provided value and displays any matches as suggestions. /// /// The filter value. /// }, select: function(li) { /// /// /// Gets or sets the selected item. Selects the item provided as an argument and updates the value and text of the widget. /// /// A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector. A number representing the index of the item or function predicate which returns the correct data item. /// The index of the selected item, if called with no parameters. If a custom value is entered, the returned selected index is -1. If called with a parameter as a setter. /// }, setDataSource: function(dataSource) { /// /// /// Sets the dataSource of an existing ComboBox and rebinds it. /// /// /// }, suggest: function(value) { /// /// /// Sets the value of the widget to the specified argument and visually selects the text. /// /// Characters to force a suggestion. /// }, text: function(text) { /// /// /// Gets or sets the text of the ComboBox. Widget will select the item with same text. If there are no matches then the text will be considered as a custom value of the widget. /// /// The text to set. /// The text of the ComboBox. /// }, toggle: function(toggle) { /// /// /// Opens or closes the widget popup. /// /// Defines the whether to open/close the drop-down list. /// }, value: function(value) { /// /// /// Gets or sets the value of the ComboBox. /// /// The value to set. /// The value of the ComboBox. /// }, 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.kendoComboBox = function() { this.data("kendoComboBox", new kendo.ui.ComboBox()); return this; }; intellisense.annotate(jQuery.fn, { getKendoComboBox: function() { /// /// /// Returns a reference to the kendo.ui.ComboBox widget, instantiated on the selector. /// /// The kendo.ui.ComboBox instance (if present). /// }, kendoComboBox: function(options) { /// /// /// Instantiates a kendo.ui.ComboBox widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// animation - Object /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result the suggestion popup will open and close instantly. /// /// autoBind - Boolean (default: true) /// Controls whether to bind the widget to the data source on initialization. /// /// autoWidth - Boolean /// If set to true, the widget automatically adjusts the width of the popup element and does not wrap up the item label. /// /// cascadeFrom - String /// Use it to set the Id of the parent ComboBox widget.Help topic showing how cascading functionality works /// /// cascadeFromField - String /// Defines the field to be used to filter the data source. If not defined, it is set to a field with the same name as the parent's dataValueField option.Help topic showing how cascading functionality works /// /// cascadeFromParentField - String /// Defines the parent field to be used to retain value from. This value will be used further to filter the dataSource. If not defined the value from the parent's dataValueField will be used. /// /// clearButton - Boolean (default: true) /// Unless this options is set to false, a button will appear when hovering the widget. Clicking that button will reset the widget's value and will trigger the change event. /// /// dataSource - Object|Array|kendo.data.DataSource /// The data source of the widget which is used to display a list of values. 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. /// /// dataTextField - String (default: "") /// The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field. /// /// dataValueField - String (default: "") /// The field of the data item that provides the value of the widget. /// /// delay - Number (default: 200) /// The delay in milliseconds between a keystroke and when the widget displays the popup. /// /// enable - Boolean (default: true) /// If set to false the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input. /// /// enforceMinLength - Boolean (default: false) /// If set to true the widget will not show all items when the text of the search input cleared. By default the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength. /// /// filter - String (default: "none") /// The filtering method used to determine the suggestions for the current value. Filtration is turned off by default, and can be performed over string values only (either the widget's data has to be an array of strings, or over the field, configured in the dataTextField option). The supported filter values are startswith, endswith and contains. /// /// fixedGroupTemplate - String|Function /// The template used to render the fixed header group. By default the widget displays only the value of the current group. /// /// footerTemplate - String|Function /// The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template. /// /// groupTemplate - String|Function /// The template used to render the groups. By default the widget displays only the value of the group. /// /// height - Number (default: 200) /// The height of the suggestion popup in pixels. The default value is 200 pixels. /// /// highlightFirst - Boolean (default: true) /// If set to true the first suggestion will be automatically highlighted. /// /// ignoreCase - Boolean (default: true) /// If set to false case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default. /// /// index - Number (default: -1) /// The index of the initially selected item. The index is 0 based. /// /// minLength - Number (default: 1) /// The minimum number of characters the user must type before a search is performed. Set to higher value than 1 if the search could match a lot of items. /// /// noDataTemplate - String|Function (default: "NO DATA FOUND.") /// The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound. /// /// placeholder - String (default: "") /// The hint displayed by the widget when it is empty. Not set by default. /// /// popup - Object /// The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation. /// /// suggest - Boolean (default: false) /// If set to true the widget will automatically use the first suggestion as its value. /// /// syncValueAndText - Boolean (default: true) /// When set to true the widget will automatically set selected value to the typed custom text. Set the option to false to clear the selected value but keep the custom text. /// /// headerTemplate - String|Function /// Specifies a static HTML content, which will be rendered as a header of the popup element. /// /// template - String|Function /// The template used to render the items. By default the widget displays only the text of the data item (configured via dataTextField). /// /// text - String (default: "") /// The text of the widget used when the autoBind is set to false. /// /// value - String (default: "") /// The value of the widget. /// /// valuePrimitive - Boolean (default: false) /// Specifies the value binding behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item. /// /// virtual - Boolean (default: false) /// Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization. /// /// virtual - Object (default: false) /// Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { Confirm: function() { /// /// Constructor of kendo.ui.Confirm /// } }); kendo.ui.Confirm = (function() { var original = kendo.ui.Confirm; 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.kendoConfirm = function() { this.data("kendoConfirm", new kendo.ui.Confirm()); return this; }; intellisense.annotate(jQuery.fn, { getKendoConfirm: function() { /// /// /// Returns a reference to the kendo.ui.Confirm widget, instantiated on the selector. /// /// The kendo.ui.Confirm instance (if present). /// }, kendoConfirm: function(options) { /// /// /// Instantiates a kendo.ui.Confirm widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// messages - Object /// Defines the text of the labels that are shown within the confirm dialog. Used primarily for localization. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { ContextMenu: function() { /// /// Constructor of kendo.ui.ContextMenu /// } }); kendo.ui.ContextMenu = (function() { var original = kendo.ui.ContextMenu; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { append: function(item,referenceItem) { /// /// /// Appends an item to a ContextMenu in the specified referenceItem's sub menu (or the root ContextMenu if not specified). /// /// Item to be appended, specified as a JSON object. An array of objects can also be passed. /// A reference item to append the new item in. If omitted, the new item will be appended to the as a root item. /// Returns the ContextMenu object to support chaining. /// }, close: function(element) { /// /// /// Closes the ContextMenu. This method can be prevented to stop the closure. /// /// If called without arguments, will close the ContextMenu. If passed an item, it will be closed (if opened). /// Returns the ContextMenu object to support chaining. /// }, destroy: function() { /// /// /// Safely removes the ContextMenu from the DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets.If a new ContextMenu widget should be created afterwards, use a new
      for that, as the old one no longer exists. ///
    ///
    }, enable: function(element,enable) { /// /// /// Enables or disables an item of a ContextMenu. This can optionally be accomplished on initialization by setting the disabled="disabled" on the desired menu item html element. /// /// Target element /// Desired state /// Returns the ContextMenu object to support chaining. /// }, findByUid: function(uid) { /// /// /// Returns the ContextMenu item by the dataItem's uid. /// /// The uid of the data item. /// the item found. /// }, insertAfter: function(item,referenceItem) { /// /// /// Inserts an item into a ContextMenu after the specified referenceItem. /// /// Target item, specified as a JSON object. Can also handle an array of such objects. /// A reference item to insert the new item after. /// Returns the ContextMenu object to support chaining. /// }, insertBefore: function(item,referenceItem) { /// /// /// Inserts an item into a ContextMenu before the specified referenceItem. /// /// Target item, specified as a JSON object. Can also handle an array of such objects. /// A reference item to insert the new item before /// Returns the ContextMenu object to support chaining. /// }, open: function(x,y) { /// /// /// Shows the ContextMenu at the specified coordinates in pixels or aligned to the specified anchor. If passed an item, it will be opened. This method can be prevented to stop the ContextMenu from opening. /// /// X coordinate in pixels or the anchor element to which to align. If passed an item - jQuery object or element - it will be opened. /// Y coordinate in pixels. If not specified, ContextMenu will assume the first parameter is an anchor element. /// Returns the ContextMenu object to support chaining. /// }, remove: function(element) { /// /// /// Removes a specified item(s) from a ContextMenu. /// /// Target item selector. /// Returns the ContextMenu object to support chaining. /// }, 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.kendoContextMenu = function() { this.data("kendoContextMenu", new kendo.ui.ContextMenu()); return this; }; intellisense.annotate(jQuery.fn, { getKendoContextMenu: function() { /// /// /// Returns a reference to the kendo.ui.ContextMenu widget, instantiated on the selector. /// /// The kendo.ui.ContextMenu instance (if present). /// }, kendoContextMenu: function(options) { /// /// /// Instantiates a kendo.ui.ContextMenu widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// alignToAnchor - Boolean (default: false) /// Specifies that ContextMenu should be shown aligned to the target or the filter element if specified. /// /// animation - Boolean /// A collection of Animation objects, used to change default animations. A value of false will disable all animations in the widget. is not a valid configuration.Available animations for the ContextMenu are listed below. Each animation has a reverse options which is used for the close effect by default, but can be over-ridden by setting the close animation. Each animation also has a direction which can be set off the animation (i.e. slideIn:Down). /// /// animation - Object /// A collection of Animation objects, used to change default animations. A value of false will disable all animations in the widget. is not a valid configuration.Available animations for the ContextMenu are listed below. Each animation has a reverse options which is used for the close effect by default, but can be over-ridden by setting the close animation. Each animation also has a direction which can be set off the animation (i.e. slideIn:Down). /// /// appendTo - String|jQuery (default: document.body) /// The DOM element to which the ContextMenu will be appended. The element needs to be relatively positioned. /// /// closeOnClick - Boolean (default: true) /// Specifies that sub menus should close after item selection (provided they won't navigate). /// /// copyAnchorStyles - Boolean (default: true) /// Copies and uses the styles from the anchor. /// /// dataSource - Object|Array|kendo.data.HierarchicalDataSource /// The data source of the widget which is used to render its items. Can be a JSON object/Array/kendo.data.HierarchicalDataSource that contains an item or an Array of items to be rendered. Refer to the example below for a list of the supported properties. /// /// dataTextField - String /// Sets the field of the data item that provides the text of the ContextMenu items. /// /// dataUrlField - String /// Sets the field of the data item that provides the url of the ContextMenu items. /// /// dataSpriteCssClassField - String /// Sets the field of the data item that provides the sprite css class of the ContextMenu items. /// /// dataImageUrlField - String /// Sets the field of the data item that provides the image url of the ContextMenu items. /// /// dataContentField - String /// Sets the field of the data item that provides the content of the ContextMenu items. /// /// direction - String (default: "default") /// Specifies ContextMenu's sub menu opening direction. Can be "top", "bottom", "left", "right". The example below will initialize the sub menus to open to the left. /// /// filter - String /// Specifies ContextMenu filter selector - the ContextMenu will only be shown on items that satisfy the provided selector. /// /// hoverDelay - Number (default: 100) /// Specifies the delay in ms before the sub menus are opened/closed - used to avoid accidental closure on leaving. /// /// orientation - String (default: "vertical") /// Root menu orientation. Could be horizontal or vertical. /// /// popupCollision - String /// Specifies how ContextMenu should adjust to screen boundaries. By default the strategy is "fit" for a sub menu with a horizontal parent or the root menu, meaning it will move to fit in screen boundaries in all directions, and "fit flip" for a sub menu with vertical parent, meaning it will fit vertically and flip over its parent horizontally. You can also switch off the screen boundary detection completely if you set the popupCollision to false. /// /// scrollable - Boolean (default: false) /// If enabled, the ContextMenu displays buttons that scroll the items when they cannot fit the viewport height. By default, scrolling is disabled. /// /// scrollable - Object (default: false) /// If enabled, the ContextMenu displays buttons that scroll the items when they cannot fit the viewport height. By default, scrolling is disabled. /// /// showOn - String /// Specifies the event or events on which ContextMenu should open. By default ContextMenu will show on contextmenu event on desktop and hold event on touch devices. Could be any pointer/mouse/touch event, also several, separated by spaces. /// /// target - String|jQuery (default: "body") /// Specifies the element on which ContextMenu should open. The default element is the document body. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { DateInput: function() { /// /// Constructor of kendo.ui.DateInput /// } }); kendo.ui.DateInput = (function() { var original = kendo.ui.DateInput; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { destroy: function() { /// /// /// Prepares the DateInput 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. /// /// }, enable: function(enable) { /// /// /// Enable/Disable the DateInput widget. /// /// The argument, which defines whether to enable/disable the DateInput. /// }, readonly: function(readonly) { /// /// /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input. /// /// The argument, which defines whether the DateInput should be readonly or editable. /// }, max: function(value) { /// /// /// Gets/Sets the max value of the DateInput. /// /// The max date to set. /// The max value of the DateInput. /// }, min: function(value) { /// /// /// Gets/Sets the min value of the DateInput. /// /// The min date to set. /// The min value of the DateInput. /// }, setOptions: function(options) { /// /// /// Changes the initial DateInput configuration. /// /// The new configuration options. /// }, value: function(value) { /// /// /// Gets/Sets the value of the DateInput. /// /// The value to set. /// The value of the DateInput. /// }, 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.kendoDateInput = function() { this.data("kendoDateInput", new kendo.ui.DateInput()); return this; }; intellisense.annotate(jQuery.fn, { getKendoDateInput: function() { /// /// /// Returns a reference to the kendo.ui.DateInput widget, instantiated on the selector. /// /// The kendo.ui.DateInput instance (if present). /// }, kendoDateInput: function(options) { /// /// /// Instantiates a kendo.ui.DateInput widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// format - String (default: "M/d/yyyy") /// Specifies the format, which is used to format the value of the DateInput displayed in the input. The format also will be used to parse the input. /// /// max - Date (default: Date(2099, 11, 31)) /// Specifies the maximum date which can be entered in the input. /// /// min - Date (default: Date(1900, 0, 1)) /// Specifies the minimum date that which be entered in the input. /// /// value - Date (default: null) /// Specifies the selected date. /// /// messages - Object /// The messages that DateInput uses. Use it to customize or localize the placeholders of each date/time part. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { DatePicker: function() { /// /// Constructor of kendo.ui.DatePicker /// } }); kendo.ui.DatePicker = (function() { var original = kendo.ui.DatePicker; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { close: function() { /// /// /// Closes the calendar. /// /// }, destroy: function() { /// /// /// Prepares the DatePicker 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. /// /// }, enable: function(enable) { /// /// /// Enable/Disable the DatePicker widget. /// /// The argument, which defines whether to enable/disable the DatePicker. /// }, readonly: function(readonly) { /// /// /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input. /// /// The argument, which defines whether the DatePicker should be readonly or editable. /// }, max: function(value) { /// /// /// Gets/Sets the max value of the DatePicker. /// /// The max date to set. /// The max value of the DatePicker. /// }, min: function(value) { /// /// /// Gets/Sets the min value of the DatePicker. /// /// The min date to set. /// The min value of the DatePicker. /// }, open: function() { /// /// /// Opens the calendar. /// /// }, setOptions: function(options) { /// /// /// Changes the initial DatePicker configuration. /// /// The new configuration options. /// }, value: function(value) { /// /// /// Gets/Sets the value of the DatePicker. /// /// The value to set. /// The value of the DatePicker. /// }, 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.kendoDatePicker = function() { this.data("kendoDatePicker", new kendo.ui.DatePicker()); return this; }; intellisense.annotate(jQuery.fn, { getKendoDatePicker: function() { /// /// /// Returns a reference to the kendo.ui.DatePicker widget, instantiated on the selector. /// /// The kendo.ui.DatePicker instance (if present). /// }, kendoDatePicker: function(options) { /// /// /// Instantiates a kendo.ui.DatePicker widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// animation - Boolean /// Configures the opening and closing animations of the calendar popup. Setting the animation option to false will disable the opening and closing animations. As a result the calendar popup will open and close instantly. is not a valid configuration. /// /// animation - Object /// Configures the opening and closing animations of the calendar popup. Setting the animation option to false will disable the opening and closing animations. As a result the calendar popup will open and close instantly. is not a valid configuration. /// /// ARIATemplate - String (default: "Current focused date is #=kendo.toString(data.current, 'D'#")) /// Specifies a template used to populate value of the aria-label attribute. /// /// culture - String (default: "en-US") /// Specifies the culture info used by the widget. /// /// dateInput - Boolean (default: false) /// Specifies if the DatePicker will use DateInput for editing value /// /// dates - Array /// Specifies a list of dates, which will be passed to the month template. /// /// depth - String /// Specifies the navigation depth. The following settings are available for the depth value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century.. /// /// disableDates - Array|Function (default: null) /// An array or function that will be used to determine which dates to be disabled for selection by the widget. /// /// footer - String|Function /// The template which renders the footer of the calendar. If false, the footer will not be rendered. /// /// format - String (default: "M/d/yyyy") /// Specifies the format, which is used to format the value of the DatePicker displayed in the input. The format also will be used to parse the input.For more information on date and time formats please refer to Date Formatting. /// /// max - Date (default: Date(2099, 11, 31)) /// Specifies the maximum date, which the calendar can show. /// /// min - Date (default: Date(1900, 0, 1)) /// Specifies the minimum date that the calendar can show. /// /// month - Object /// Templates for the cells rendered in the calendar "month" view. /// /// weekNumber - Boolean (default: false) /// If set to true a week of the year will be shown on the left side of the calendar. It is possible to define a template in order to customize what will be displayed. /// /// parseFormats - Array /// Specifies a list of date formats used to parse the value set with value() method or by direct user input. If not set the value of the format will be used. Note that the format option is always used during parsing. /// /// start - String (default: "month") /// Specifies the start view. The following settings are available for the start value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century.. /// /// value - Date (default: null) /// Specifies the selected date. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { DateRangePicker: function() { /// /// Constructor of kendo.ui.DateRangePicker /// } }); kendo.ui.DateRangePicker = (function() { var original = kendo.ui.DateRangePicker; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { close: function() { /// /// /// Closes the calendar. /// /// }, destroy: function() { /// /// /// Prepares the DateRangePicker 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. /// /// }, enable: function(enable) { /// /// /// Enable/Disable the DateRangePicker widget. /// /// The argument, which defines whether to enable/disable the DateRangePicker. /// }, readonly: function(readonly) { /// /// /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input. /// /// The argument, which defines whether the DateRangePicker should be readonly or editable. /// }, max: function(value) { /// /// /// Gets/Sets the max value of the DateRangePicker. /// /// The max date to set. /// The max value of the DateRangePicker. /// }, min: function(value) { /// /// /// Gets/Sets the min value of the DateRangePicker. /// /// The min date to set. /// The min value of the DateRangePicker. /// }, open: function() { /// /// /// Opens the calendar. /// /// }, range: function(range) { /// /// /// Gets/Sets the selected range for the DateRangePicker. /// /// The range to set. It should have a start and end properties with the respective dates. /// The selected range of the DateRangePicker. The object has a start and end properties. /// }, setOptions: function(options) { /// /// /// Changes the initial DateRangePicker configuration. /// /// The new configuration options. /// }, 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.kendoDateRangePicker = function() { this.data("kendoDateRangePicker", new kendo.ui.DateRangePicker()); return this; }; intellisense.annotate(jQuery.fn, { getKendoDateRangePicker: function() { /// /// /// Returns a reference to the kendo.ui.DateRangePicker widget, instantiated on the selector. /// /// The kendo.ui.DateRangePicker instance (if present). /// }, kendoDateRangePicker: function(options) { /// /// /// Instantiates a kendo.ui.DateRangePicker widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// ARIATemplate - String (default: "Current focused date is #=kendo.toString(data.current, 'D'#")) /// Specifies a template used to populate value of the aria-label attribute. /// /// culture - String (default: "en-US") /// Specifies the culture info used by the widget. /// /// dates - Array /// Specifies a list of dates, which will be passed to the month template. /// /// depth - String (default: "month") /// Specifies the navigation depth. The following settings are available for the depth value: "month" - Shows the days of the month. (default value); "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century.. /// /// disableDates - Array|Function (default: null) /// An array or function that will be used to determine which dates to be disabled for selection by the widget. /// /// endField - String (default: "") /// Specifies the end field name for model binding. /// /// footer - String|Function /// The template which renders the footer of the calendar. If false, the footer will not be rendered. /// /// format - String (default: "M/d/yyyy") /// Specifies the format, which is used to format the value of the DateRangePicker displayed in the input. The format also will be used to parse the input.For more information on date and time formats please refer to Date Formatting. /// /// max - Date (default: Date(2099, 11, 31)) /// Specifies the maximum date, which the calendar can show. /// /// messages - Object /// Allows localization of the strings that are used in the widget. /// /// min - Date (default: Date(1900, 0, 1)) /// Specifies the minimum date that the calendar can show. /// /// month - Object /// Templates for the cells rendered in the calendar "month" view. /// /// labels - Boolean (default: true) /// Determines if the labels for the inputs will be visible. /// /// weekNumber - Boolean (default: false) /// If set to true a week of the year will be shown on the left side of the calendar. It is possible to define a template in order to customize what will be displayed. /// /// range - Object /// Configures the Kendo UI DateRangePicker range settings. /// /// start - String (default: "month") /// Specifies the start view. The following settings are available for the start value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century.. /// /// startField - String (default: "") /// Specifies the start field name for model binding. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { DateTimePicker: function() { /// /// Constructor of kendo.ui.DateTimePicker /// } }); kendo.ui.DateTimePicker = (function() { var original = kendo.ui.DateTimePicker; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { close: function(view) { /// /// /// Closes the calendar or the time drop-down list. /// /// The view of the DateTimePicker, expressed as a string. Available views are "time" and "date". /// }, destroy: function() { /// /// /// Prepares the DateTimePicker 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. /// /// }, enable: function(enable) { /// /// /// Enables or disables a DateTimePicker. /// /// Enables (true or undefined) or disables (false) a DateTimePicker. /// }, readonly: function(readonly) { /// /// /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input. /// /// The argument, which defines whether the DateTimePicker should be readonly or editable. /// }, max: function(value) { /// /// /// Gets or sets the maximum value of the DateTimePicker. /// /// The maximum time value to set for a DateTimePicker, expressed as a Date object or as a string. /// The maximum time value of a DateTimePicker. /// }, min: function(value) { /// /// /// Gets or sets the minimum value of the DateTimePicker. /// /// The minimum time value to set for a DateTimePicker, expressed as a Date object or as a string. /// The minimum time value of a DateTimePicker. /// }, open: function(view) { /// /// /// Opens the calendar or the time drop-down list. /// /// The view of the DateTimePicker, expressed as a string. Available views are "time" and "date". /// }, setOptions: function(options) { /// /// /// /// /// The new configuration options. /// }, toggle: function(view) { /// /// /// Toggles the calendar or the time drop-down list. /// /// The view of the DateTimePicker, expressed as a string. Available views are "time" and "date". /// }, value: function(value) { /// /// /// Gets or sets the value of the DateTimePicker. /// /// The time value to set for a DateTimePicker, expressed as a Date object or as a string. /// The time value of a DateTimePicker. /// }, 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.kendoDateTimePicker = function() { this.data("kendoDateTimePicker", new kendo.ui.DateTimePicker()); return this; }; intellisense.annotate(jQuery.fn, { getKendoDateTimePicker: function() { /// /// /// Returns a reference to the kendo.ui.DateTimePicker widget, instantiated on the selector. /// /// The kendo.ui.DateTimePicker instance (if present). /// }, kendoDateTimePicker: function(options) { /// /// /// Instantiates a kendo.ui.DateTimePicker widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// animation - Boolean /// Configures the opening and closing animations of the popups. Setting the animation option to false will disable the opening and closing animations. As a result the popup will open and close instantly. is not a valid configuration. /// /// animation - Object /// Configures the opening and closing animations of the popups. Setting the animation option to false will disable the opening and closing animations. As a result the popup will open and close instantly. is not a valid configuration. /// /// ARIATemplate - String (default: "Current focused date is #=kendo.toString(data.current, 'G'#")) /// Specifies a template used to populate value of the aria-label attribute. /// /// culture - String (default: "en-US") /// Specifies the culture info used by the widget. /// /// dateInput - Boolean (default: false) /// Specifies if the DateTimePicker will use DateInput for editing value /// /// dates - Array /// Specifies a list of dates, which will be passed to the month template of the DateView. All dates, which match the date portion of the selected date will be used to re-bind the TimeView. /// /// depth - String /// Specifies the navigation depth of the calendar. The following settings are available for the depth value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century.. /// /// disableDates - Array|Function (default: null) /// An array or function that will be used to determine which dates to be disabled for selection by the widget. /// /// footer - String /// The template which renders the footer of the calendar. If false, the footer will not be rendered. /// /// format - String (default: "M/d/yyyy h:mm tt") /// Specifies the format, which is used to format the value of the DateTimePicker displayed in the input. The format also will be used to parse the input.For more information on date and time formats please refer to Date Formatting. /// /// interval - Number (default: 30) /// Specifies the interval, between values in the popup list, in minutes. /// /// max - Date (default: Date(2099, 11, 31)) /// Specifies the maximum date, which the calendar can show. /// /// min - Date (default: Date(1900, 0, 1)) /// Specifies the minimum date that the calendar can show. /// /// month - Object /// Templates for the cells rendered in the calendar "month" view. /// /// weekNumber - Boolean (default: false) /// If set to true a week of the year will be shown on the left side of the calendar. It is possible to define a template in order to customize what will be displayed. /// /// parseFormats - Array /// Specifies the formats, which are used to parse the value set with value() method or by direct input. If not set the value of the options.format and options.timeFormat will be used. Note that value of the format option is always used. The timeFormat value also will be used if defined. /// /// start - String (default: "month") /// Specifies the start view of the calendar. The following settings are available for the start value: "month" - Shows the days of the month.; "year" - Shows the months of the year.; "decade" - Shows the years of the decade. or "century" - Shows the decades from the century.. /// /// timeFormat - String (default: "h:mm tt") /// Specifies the format, which is used to format the values in the time drop-down list. /// /// value - Date (default: null) /// Specifies the selected value. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { Dialog: function() { /// /// Constructor of kendo.ui.Dialog /// } }); kendo.ui.Dialog = (function() { var original = kendo.ui.Dialog; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { close: function() { /// /// /// Closes a Dialog. /// /// Returns the dialog object to support chaining. /// }, content: function(content) { /// /// /// Gets or set the content of a dialog. Supports chaining when used as a setter. /// /// The content of the Dialog. Can be an HTML string or jQuery object. /// The current dialog content, if used as a getter. If used as a setter, the method will return the dialog object to support chaining. /// }, destroy: function() { /// /// /// Destroys the dialog and its modal overlay, if necessary. Removes the widget HTML elements from the DOM. /// /// }, open: function() { /// /// /// Opens a Dialog and brings it on top of any other open Dialog or Window instances by calling toFront internally. /// /// Returns the dialog object to support chaining. /// }, title: function(text) { /// /// /// Gets or sets the title of a Dialog. Can be a text string. Supports chaining when used as a setter. If passed to the method, an HTML string would be escaped. /// /// The title of the Dialog. /// The current dialog title, if used as a getter. If used as a setter, the method will return the dialog object to support chaining. /// }, toFront: function() { /// /// /// Increases the z-index style of a Dialog wrapper to bring the instance on top of other open Dialogs. This method is executed automatically when the open method is used. /// /// Returns the dialog object to support chaining. /// }, 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.kendoDialog = function() { this.data("kendoDialog", new kendo.ui.Dialog()); return this; }; intellisense.annotate(jQuery.fn, { getKendoDialog: function() { /// /// /// Returns a reference to the kendo.ui.Dialog widget, instantiated on the selector. /// /// The kendo.ui.Dialog instance (if present). /// }, kendoDialog: function(options) { /// /// /// Instantiates a kendo.ui.Dialog widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// actions - Array /// A collection of objects containing text, action and primary attributes used to specify the dialog buttons. #### Example /// /// animation - Boolean /// A collection of {Animation} objects, used to change default animations. A value of false will disable all animations in the widget. is not a valid configuration. /// /// animation - Object /// A collection of {Animation} objects, used to change default animations. A value of false will disable all animations in the widget. is not a valid configuration. /// /// buttonLayout - String (default: "stretched") /// Specifies the possible layout of the action buttons in the Dialog.Possible values are: normal or stretched. /// /// closable - Boolean (default: true) /// Specifies whether a close button should be rendered at the top corner of the dialog. /// /// content - String /// Specifies the content of a Dialog. /// /// height - Number|String /// Specifies height of the dialog. /// /// maxHeight - Number (default: Infinity) /// The maximum height (in pixels) that may be achieved by resizing the dialog. /// /// maxWidth - Number (default: Infinity) /// The maximum width (in pixels) that may be achieved by resizing the dialog. /// /// messages - Object /// Defines the text of the labels that are shown within the dialog. Used primarily for localization. /// /// minHeight - Number (default: 50) /// The minimum height (in pixels) that may be achieved by resizing the dialog. /// /// minWidth - Number (default: 50) /// The minimum width (in pixels) that may be achieved by resizing the dialog. /// /// modal - Boolean (default: true) /// Specifies whether the dialog should show a modal overlay over the page. /// /// modal - Object (default: true) /// Specifies whether the dialog should show a modal overlay over the page. /// /// title - String|Boolean (default: "") /// The text in the dialog title bar. If false, the dialog will be displayed without a title bar. /// /// visible - Boolean (default: true) /// Specifies whether the dialog will be initially visible. /// /// width - Number|String /// Specifies width of the dialog. /// /// size - String (default: "auto") /// Set predefined size to the dialog. The width and height configuration options override the predefined size.Possible values are: auto; small; medium or large. /// /// /// /// 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". /// /// autoScroll - Boolean (default: false) /// If set to true the widget will auto-scroll the container when the mouse/finger is close to the top/bottom of it. /// /// container - String|jQuery (default: null) /// If set, the hint movement is constrained to the container boundaries. /// /// 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|jQuery /// 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, { Drawer: function() { /// /// Constructor of kendo.ui.Drawer /// } }); kendo.ui.Drawer = (function() { var original = kendo.ui.Drawer; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { destroy: function() { /// /// /// Prepares the Drawer 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. /// /// }, hide: function() { /// /// /// Hide the Drawer /// /// }, show: function() { /// /// /// Show the Drawer /// /// }, 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.kendoDrawer = function() { this.data("kendoDrawer", new kendo.ui.Drawer()); return this; }; intellisense.annotate(jQuery.fn, { getKendoDrawer: function() { /// /// /// Returns a reference to the kendo.ui.Drawer widget, instantiated on the selector. /// /// The kendo.ui.Drawer instance (if present). /// }, kendoDrawer: function(options) { /// /// /// Instantiates a kendo.ui.Drawer widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// position - String (default: 'left') /// The position of the drawer. Can be left (default) or right. /// /// mode - String (default: 'overlay') /// Determines how the Kendo UI Drawer will interact with the associated content. The default one (overlay) will simply overlap the associated content with overlay effect. On the other hand "push" mode will show the drawer next to associated cotent. The associated content will shrink its content. /// /// template - String /// Specifies the drawer's content. /// /// minHeight - Number /// Specifies the minimum height for the drawer in push mode. The overlay mode takes 100% of the page height. /// /// mini - Boolean /// Enables or configures the mini mode for the Kendo UI Drawer. This is a compact view that is displayed when the Kendo UI Drawer is collapsed. Usually it used to show only the icons when the drawer content contains icon and text for an item. When set to true it uses the main template. /// /// mini - Object /// Enables or configures the mini mode for the Kendo UI Drawer. This is a compact view that is displayed when the Kendo UI Drawer is collapsed. Usually it used to show only the icons when the drawer content contains icon and text for an item. When set to true it uses the main template. /// /// swipeToOpen - Boolean (default: true) /// If set to false, swiping the associated content will not activate the drawer. In this case, the drawer will only be open by calling the show method. should be disabled for browsers, which use side swiping gestures for back/forward navigation, such as iOS Safari. Otherwise, users should swipe from an inner part of the view, and not from the view edge. /// /// width - Number /// Defines a specific width for the Kendo UI Drawer when expanded. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { DropDownList: function() { /// /// Constructor of kendo.ui.DropDownList /// } }); kendo.ui.DropDownList = (function() { var original = kendo.ui.DropDownList; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { close: function() { /// /// /// Closes the widget popup. /// /// }, dataItem: function(index) { /// /// /// Returns the data item at the specified index. If the index is not specified, the selected index will be used. /// /// The zero-based index of the data record. /// The raw data record. Returns undefined if no data. /// }, destroy: function() { /// /// /// Prepares the DropDownList 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. /// /// }, focus: function() { /// /// /// Focuses the widget. /// /// }, items: function() { /// /// /// Obtains an Array of the DOM elements, which correspond to the data items from the Kendo UI DataSource view. /// /// The currently rendered dropdown list items (
  • elements). /// }, enable: function(enable) { /// /// /// Enables or disables the widget. /// /// If set to true the widget will be enabled. If set to false the widget will be disabled. /// }, open: function() { /// /// /// Opens the popup. /// /// }, readonly: function(readonly) { /// /// /// Controls whether the widget is editable or readonly. /// /// The argument, which defines whether the DropDownList should be readonly or editable. /// }, refresh: function() { /// /// /// Refresh the popup by rendering all items again. /// /// }, search: function(word) { /// /// /// If the DropDownList filter is enabled, the method searches and filters the results available in the drop-down. If no filter is configured for the widget it selects the first item, which starts with the provided value. /// /// The search value. /// }, select: function(li) { /// /// /// Gets or sets the selected item. Selects the item provided as an argument and updates the value and text of the widget. /// /// A string, DOM element or jQuery object which represents the item to be selected. A string is treated as a jQuery selector. A number representing the index of the item or function predicate which returns the correct data item. /// The index of the selected item, if called with no parameters. If a custom value is entered, the returned selected index is -1. If called with a parameter as a setter. /// }, setDataSource: function(dataSource) { /// /// /// Sets the dataSource of an existing DropDownList and rebinds it. /// /// /// }, text: function(text) { /// /// /// Gets or sets the text of the DropDownList. /// /// The text to set. /// The text of the DropDownList. /// }, toggle: function(toggle) { /// /// /// Opens or closes the widget popup. /// /// Defines the whether to open/close the drop-down list. /// }, value: function(value) { /// /// /// Gets or sets the value of the DropDownList. The value will not be set if there is no item with such value. If value is undefined, text of the data item is used. /// /// The value to set. /// The value of the DropDownList. /// }, 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.kendoDropDownList = function() { this.data("kendoDropDownList", new kendo.ui.DropDownList()); return this; }; intellisense.annotate(jQuery.fn, { getKendoDropDownList: function() { /// /// /// Returns a reference to the kendo.ui.DropDownList widget, instantiated on the selector. /// /// The kendo.ui.DropDownList instance (if present). /// }, kendoDropDownList: function(options) { /// /// /// Instantiates a kendo.ui.DropDownList widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// animation - Boolean /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result the suggestion popup will open and close instantly. is not a valid configuration. /// /// animation - Object /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result the suggestion popup will open and close instantly. is not a valid configuration. /// /// autoBind - Boolean (default: true) /// Controls whether to bind the widget to the data source on initialization. /// /// autoWidth - Boolean /// If set to true, the widget automatically adjusts the width of the popup element and does not wrap up the item label. /// /// cascadeFrom - String /// Use it to set the Id of the parent DropDownList widget.Help topic showing how cascading functionality works /// /// cascadeFromField - String /// Defines the field to be used to filter the data source. If not defined the parent's dataValueField option will be used.Help topic showing how cascading functionality works /// /// cascadeFromParentField - String /// Defines the parent field to be used to retain value from. This value will be used further to filter the dataSource. If not defined the value from the parent's dataValueField will be used. /// /// dataSource - Object|Array|kendo.data.DataSource /// The data source of the widget which is used to display a list of values. 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. /// /// dataTextField - String (default: "") /// The field of the data item that provides the text content of the list items. The widget will filter the data source based on this field. /// /// dataValueField - String (default: "") /// The field of the data item that provides the value of the widget. /// /// delay - Number (default: 500) /// Specifies the delay in milliseconds before the search-text typed by the end user is sent for filtering. /// /// enable - Boolean (default: true) /// If set to false the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input. /// /// enforceMinLength - Boolean (default: false) /// If set to true the widget will not show all items when the text of the search input cleared. By default the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength. /// /// filter - String (default: "none") /// The filtering method used to determine the suggestions for the current value. Filtration is turned off by default, and can be performed over string values only (either the widget's data has to be an array of strings, or over the field, configured in the dataTextField option). The supported filter values are startswith, endswith and contains. /// /// fixedGroupTemplate - String|Function /// The template used to render the fixed header group. By default the widget displays only the value of the current group. /// /// footerTemplate - String|Function /// The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template. /// /// groupTemplate - String|Function /// The template used to render the groups. By default the widget displays only the value of the group. /// /// height - Number (default: 200) /// The height of the suggestion popup in pixels. The default value is 200 pixels. /// /// ignoreCase - Boolean (default: true) /// If set to false case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default. /// /// index - Number (default: 0) /// The index of the initially selected item. The index is 0 based. /// /// minLength - Number (default: 1) /// The minimum number of characters the user must type before a filter is performed. Set to higher value than 1 if the search could match a lot of items. /// /// noDataTemplate - String|Function (default: "NO DATA FOUND.") /// The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound. /// /// popup - Object /// The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation. /// /// optionLabel - String|Object (default: "") /// Define the text of the default empty item. If the value is an object, then the widget will use it as a valid data item. Note that the optionLabel will not be available if the widget is empty. /// /// optionLabelTemplate - String|Function /// The template used to render the option label. /// /// headerTemplate - String|Function /// Specifies a static HTML content, which will be rendered as a header of the popup element. /// /// template - String|Function /// The template used to render the items. By default the widget displays only the text of the data item (configured via dataTextField). /// /// valueTemplate - String|Function /// The valueTemplate used to render the selected value. By default the widget displays only the text of the data item (configured via dataTextField). /// /// text - String (default: "") /// The text of the widget used when the autoBind is set to false. /// /// value - String (default: "") /// The value of the widget. /// /// valuePrimitive - Boolean (default: false) /// Specifies the value binding behavior for the widget when the initial model value is null. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item. /// /// virtual - Boolean (default: false) /// Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization. /// /// virtual - Object (default: false) /// Enables the virtualization feature of the widget. The configuration can be set on an object, which contains two properties - itemHeight and valueMapper.For detailed information, refer to the article on virtualization. /// /// /// /// The widget configuration options /// /// } }); intellisense.annotate(kendo.ui, { DropDownTree: function() { /// /// Constructor of kendo.ui.DropDownTree /// } }); kendo.ui.DropDownTree = (function() { var original = kendo.ui.DropDownTree; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { close: function() { /// /// /// Closes the widget popup. /// /// }, destroy: function() { /// /// /// Prepares the DropDownTree 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. /// /// }, enable: function(enable) { /// /// /// Enables or disables the widget. /// /// If set to true the widget will be enabled. If set to false the widget will be disabled. /// }, focus: function() { /// /// /// Focuses the widget. /// /// }, items: function() { /// /// /// Obtains an Array of the DOM elements, which correspond to the data items from the Kendo UI HierarchicalDataSource view. /// /// The currently rendered first level items. /// }, open: function() { /// /// /// Opens the popup. /// /// }, readonly: function(readonly) { /// /// /// Toggles the readonly state of the widget. When the widget is readonly it doesn't allow user input. /// /// If set to true the widget will not allow user input. If set to false the widget will allow user input. /// }, refresh: function() { /// /// /// Refresh the popup by rendering all items again. /// /// }, search: function(word) { /// /// /// Searches the data source for the provided value and displays any matches as suggestions. /// /// The filter value. /// }, setDataSource: function(dataSource) { /// /// /// Sets the dataSource of an existing DropDownTree and rebinds it. /// /// /// }, toggle: function(toggle) { /// /// /// Opens or closes the widget popup. /// /// Defines the whether to open/close the drop-down list. /// }, value: function(value) { /// /// /// Gets or sets the value of the DropDownTree. /// /// The value to set. A String value when checkboxes is 'false' and an Array of strings when checkboxes is true. To clear the value, pass an empty array. /// The value of the DropDownTree. /// }, 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.kendoDropDownTree = function() { this.data("kendoDropDownTree", new kendo.ui.DropDownTree()); return this; }; intellisense.annotate(jQuery.fn, { getKendoDropDownTree: function() { /// /// /// Returns a reference to the kendo.ui.DropDownTree widget, instantiated on the selector. /// /// The kendo.ui.DropDownTree instance (if present). /// }, kendoDropDownTree: function(options) { /// /// /// Instantiates a kendo.ui.DropDownTree widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// animation - Boolean /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result, the suggestion popup will open and close instantly. is not a valid configuration. /// /// animation - Object /// Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations. As a result, the suggestion popup will open and close instantly. is not a valid configuration. /// /// autoBind - Boolean (default: true) /// Controls whether to bind the widget to the data source on initialization. /// /// autoClose - Boolean (default: true) /// Controls whether to close the popup when item is selected or checked. /// /// autoWidth - Boolean /// If set to true, the widget automatically adjusts the width of the popup element and does not wrap up the item label. /// /// checkAll - Boolean (default: false) /// When this options is set to true and checkboxes are enabled, a tristate checkbox appears above the embedded treeview. Clicking that checkbox will check or uncheck all the loaded enabled items of the treeview. /// /// checkAllTemplate - String|Function /// The template used to render the checkAll label. By default, the widget displays only a span element with text "Check all". /// /// checkboxes - Boolean /// If true or an object, renders checkboxes beside each node. In this case the widget value should be an array. /// /// checkboxes - Object /// If true or an object, renders checkboxes beside each node. In this case the widget value should be an array. /// /// clearButton - Boolean (default: true) /// Unless this option is set to false, a button will appear when hovering the widget. Clicking that button will reset the widget's value and will trigger the change event. /// /// dataImageUrlField - String (default: null) /// Sets the field of the data item that provides the image URL of the DropDownTree nodes. /// /// dataSource - Object|Array|kendo.data.HierarchicalDataSource /// The data source of the widget which is used render nodes. Can be a JavaScript object which represents a valid data source configuration, a JavaScript array or an existing kendo.data.HierarchicalDataSource instance.If the dataSource option is set to a JavaScript object or array the widget will initialize a new kendo.data.HierarchicalDataSource instance using that value as data source configuration.If the dataSource option is an existing kendo.data.HierarchicalDataSource instance the widget will use that instance and will not initialize a new one. /// /// dataSpriteCssClassField - String (default: null) /// Sets the field of the data item that provides the sprite CSS class of the nodes. If an array, each level uses the field that is at the same index in the array, or the last item in the array. /// /// dataTextField - String|Array (default: null) /// Sets the field of the data item that provides the text content of the nodes. If an array, each level uses the field that is at the same index in the array, or the last item in the array. /// /// dataUrlField - String (default: null) /// Sets the field of the data item that provides the link URL of the nodes. /// /// dataValueField - String|Array (default: null) /// The field of the data item that provides the value of the widget. If an array, each level uses the field that is at the same index in the array, or the last item in the array. /// /// delay - Number (default: 200) /// Specifies the delay in milliseconds after which the DropDownTree will start filtering dataSource. /// /// enable - Boolean (default: true) /// If set to false the widget will be disabled and will not allow user input. The widget is enabled by default and allows user input. /// /// enforceMinLength - Boolean (default: false) /// If set to true the widget will not show all items when the text of the search input cleared. By default, the widget shows all items when the text of the search input is cleared. Works in conjunction with minLength. /// /// filter - String (default: "none") /// The filtering method used to determine the suggestions for the current value. Filtration is turned off by default, and can be performed over string values only (either the widget's data has to be an array of strings, or over the field, configured in the dataTextField option). The supported filter values are startswith, endswith and contains. /// /// footerTemplate - String|Function /// The template used to render the footer template. The footer template receives the widget itself as a part of the data argument. Use the widget fields directly in the template. /// /// height - String|Number (default: 200) /// Sets max-height of the embedded treeview in pixels. The default value is 200 pixels. If set to "Auto" the height of the popup will depend on the height of the treeview. /// /// ignoreCase - Boolean (default: true) /// If set to false case-sensitive search will be performed to find suggestions. The widget performs case-insensitive searching by default. /// /// loadOnDemand - Boolean (default: false) /// Indicates whether the child DataSources should be fetched lazily when parent groups get expanded. Setting this to true causes loading the child DataSources when expanding the parent node. /// /// messages - Object /// The text messages displayed in the widget. Use it to customize or localize the messages. /// /// minLength - Number (default: 1) /// The minimum number of characters the user must type before a search is performed. Set to a higher value if the search could match a lot of items. /// /// noDataTemplate - String|Function (default: "NO DATA FOUND.") /// The template used to render the "no data" template, which will be displayed if no results are found or the underlying data source is empty. The noData template receives the widget itself as a part of the data argument. The template will be evaluated on every widget data bound. /// /// placeholder - String (default: "") /// The hint displayed by the widget when it is empty. Not set by default. /// /// popup - Object /// The options that will be used for the popup initialization. For more details about the available options refer to Popup documentation. /// /// headerTemplate - String|Function /// Specifies a static HTML content, which will be rendered as a header of the popup element. /// /// valueTemplate - String|Function /// The template used to render the value and the or the selected tags. /// /// tagMode - String (default: "multiple") /// The mode used to render the selected tags when checkboxes are enabled. The available modes are: - multiple - renders a tag for every selected value - single - renders only one tag that shows the number of the selected values /// /// template - String|Function /// Template for rendering each node. /// /// text - String (default: "") /// The text of the widget used when the autoBind is set to false. /// /// value - String|Array /// Define the value of the widget. It accepts 'String' when it is in single selection mode and 'Array' when multiple selection is enabled via checkboxes property. /// /// valuePrimitive - Boolean (default: false) /// Specifies the value binding behavior for the widget. If set to true, the View-Model field will be updated with the selected item value field. If set to false, the View-Model field will be updated with the selected item. /// /// /// /// 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, { Editor: function() { /// /// Constructor of kendo.ui.Editor /// } }); kendo.ui.Editor = (function() { var original = kendo.ui.Editor; var wrapper = function() { var instance = new original(); intellisense.annotate(instance, { createRange: function(document) { /// /// /// Creates a W3C-compatible Range object. /// /// The document that the range is associated with. If omitted, the document of the editor editing area will be used. /// The created Range object. /// }, 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. /// /// }, encodedValue: function() { /// /// /// Gets the HTML encoded value of the editor. /// /// The value of the Editor as HTML encoded string. /// }, exec: function(name,params) { /// /// /// Executes an editor command on the currently selected text. /// /// The name of the command to be executed. The available names match the list of tools, plus "undo" and "redo". /// The parameters for the executed command. /// }, focus: function() { /// /// /// Focuses the editable area. /// /// }, getRange: function() { /// /// /// Gets a Range object form the editable area. /// /// A W3C-compatible Range object that represents the currently selected text in the editor area. /// }, getSelection: function() { /// /// /// Gets a W3C-compatible Selection object form the editable area. /// /// a W3C-compatible Selection object form the editable area. /// }, paste: function(html,options) { /// /// /// Inserts HTML into the editable area. Cleans up MS Word formatting. /// /// The HTML to be inserted. /// Options that configure how the content is processed when pasting. /// }, selectedHtml: function() { /// /// /// Serializes the currently selected text to a XHTML string. /// /// The selected text as valid XHTML. /// }, refresh: function() { /// /// /// Reinitializes the editing area iframe. Should be used after moving the editor in the DOM. /// /// }, saveAsPDF: function() { /// /// /// Initiates the PDF export and returns a promise. Also triggers the pdfExport event. /// /// A promise that will be resolved when the export completes. The same promise is available in the pdfExport event arguments. /// }, selectRange: function(range) { /// /// /// Focuses the editable area and selects the range described by the range parameter. /// /// The Range object that describes the new selection. /// }, update: function() { /// /// /// Serializes the current state of the editable area to the