// jshint unused: false var kendo = { ui: {}, mobile: {ui: {}}, dataviz: {ui: {}}, data: {} }; if (!kendo.kendo) { kendo.kendo = {}; } kendo.Class = function() { }; kendo.Class.prototype = { bind: function(event, callback) { /// /// Binds to a widget event. /// /// The event name /// The callback to be executed when the event is triggered. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoClass = function() { /// /// Returns a reference to the kendo.Class widget, instantiated on the selector. /// /// The kendo.Class instance (if present). }; $.fn.kendoClass = function(options) { /// /// Instantiates a kendo.Class widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.Color = function() { }; kendo.Color.prototype = { 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: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: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. } }; $.fn.getKendoColor = function() { /// /// Returns a reference to the kendo.Color widget, instantiated on the selector. /// /// The kendo.Color instance (if present). }; $.fn.kendoColor = function(options) { /// /// Instantiates a kendo.Color widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.Layout = function() { }; kendo.Layout.prototype = { showIn: function(container,view,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. } }; $.fn.getKendoLayout = function() { /// /// Returns a reference to the kendo.Layout widget, instantiated on the selector. /// /// The kendo.Layout instance (if present). }; $.fn.kendoLayout = function(options) { /// /// Instantiates a kendo.Layout widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.Observable = function() { }; kendo.Observable.prototype = { bind: function(eventName,handler) { /// /// Attaches a handler to an event. /// /// The name of the event. /// A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data. }, one: function(eventName,handler) { /// /// Attaches a handler to an event. The handler is executed only once. /// /// The name of the event. /// A function to execute each time the event is triggered. That function should have a single parameter which will contain any event specific data. }, trigger: function(eventName,eventData) { /// /// Executes all handlers attached to the given event. /// /// The name of the event to trigger. /// Optional event data which will be passed as an argument to the event handlers. }, unbind: function(eventName,handler) { /// /// Remove a previously attached event handler. /// /// The name of the event. If not specified all handlers of all events will be removed. /// The handler which should no longer be executed. If not specified all handlers listening to that event will be removed. }, self: null }; $.fn.getKendoObservable = function() { /// /// Returns a reference to the kendo.Observable widget, instantiated on the selector. /// /// The kendo.Observable instance (if present). }; $.fn.kendoObservable = function(options) { /// /// Instantiates a kendo.Observable widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.Router = function() { }; kendo.Router.prototype = { start: function() { /// /// Activates the router binding to the URL 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. } }; $.fn.getKendoRouter = function() { /// /// Returns a reference to the kendo.Router widget, instantiated on the selector. /// /// The kendo.Router instance (if present). }; $.fn.kendoRouter = function(options) { /// /// Instantiates a kendo.Router widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// ignoreCase — Boolean (default: true) /// Introduced with Q3 2014. If set to false, the router instance will perform case sensitive match of the url against the defined routes. /// /// pushState — Boolean (default: false) /// If set to true, the router will use the history pushState API. /// /// root — String (default: "/") /// Applicable if pushState is used and the application is deployed to a path different than /. If the application start page is hosted on http://foo.com/myapp/, the root option should be set to /myapp/. /// /// hashBang — Boolean (default: false) /// Introduced in the 2014 Q1 Service Pack 1 release. If set to true, the hash based navigation will parse and prefix the fragment value with !, /// which should be SEO friendly, and allows non-prefixed anchor links to work as expected. /// /// /// /// The widget configuration options /// }; kendo.View = function() { }; kendo.View.prototype = { destroy: function() { /// /// Removes the View element from the DOM. Detaches all event handlers and removes jQuery.data attributes to avoid memory leaks. Calls destroy method of any child Kendo widgets. /// }, render: function(container) { /// /// Renders the view contents. Accepts a jQuery selector (or jQuery object) to which the contents will be appended. /// Alternatively, the render method can be called without parameters in order to retrieve the View element for manual insertion/further manipulation. /// /// (optional) the element in which the view element will be appended. /// the view element. }, bind: function(event, callback) { /// /// Binds to a widget event. /// /// The event name /// The callback to be executed when the event is triggered. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoView = function() { /// /// Returns a reference to the kendo.View widget, instantiated on the selector. /// /// The kendo.View instance (if present). }; $.fn.kendoView = function(options) { /// /// Instantiates a kendo.View widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// evalTemplate — Boolean (default: false) /// If set to true, the view template will be treated as kendo template and evaluated against the provided model instance. /// /// tagName — String (default: "div") /// The tag used for the root element of the view. /// /// wrap — Boolean (default: true) /// If set to false, the view will not wrap its contents in a root element. In that case, the view element will point to the root element in the template. If false, the view template should have a single root element. /// /// /// /// The widget configuration options /// }; kendo.data.Binder = function() { }; kendo.data.Binder.prototype = { refresh: function() { /// /// Invoked by the Kendo UI MVVM framework when the bound view model value is changed. The binder should update the UI (HTML element or Kendo UI widget) to reflect the view model change. /// }, bind: function(event, callback) { /// /// Binds to a widget event. /// /// The event name /// The callback to be executed when the event is triggered. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoBinder = function() { /// /// Returns a reference to the kendo.data.Binder widget, instantiated on the selector. /// /// The kendo.data.Binder instance (if present). }; $.fn.kendoBinder = function(options) { /// /// Instantiates a kendo.data.Binder widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.data.DataSource = function() { }; kendo.data.DataSource.prototype = { add: function(model) { /// /// Appends a data item to the data source. /// /// Either a kendo.data.Model instance or JavaScript object containing the data item field values. /// the data item which is inserted. }, aggregate: function(value) { /// /// Gets or sets the aggregate configuration. /// /// The aggregate configuration. Accepts the same values as the aggregate option. /// the current aggregate configuration. }, aggregates: function() { /// /// Returns the aggregate results. /// /// the aggregate results. There is a key for every aggregated field. }, at: function(index) { /// /// Returns the data item at the specified index. The index is zero-based. /// /// The zero-based index of the data item. /// the data item at the specified index. Returns undefined if a data item is not found at the specified index.Returns a kendo.data.Model instance if the schema.model option is set. }, cancelChanges: function(model) { /// /// Cancels any pending changes in the data source. Deleted data items are restored, new data items are removed and updated data items are restored to their initial state. /// /// The optional data item (model). If specified only the changes of this data item will be discarded. If omitted all changes will be discarded. }, data: function(value) { /// /// Gets or sets the data items of the data source.If the data source is bound to a remote service (via the transport option) the data method will return the service response. /// Every item from the response is wrapped in a kendo.data.ObservableObject or kendo.data.Model (if the schema.model option is set).If the data source is bound to a JavaScript array (via the data option) the data method will return the items of that array. /// Every item from the array is wrapped in a kendo.data.ObservableObject or kendo.data.Model (if the schema.model option is set).If the data source is grouped (via the group option or the group method) and the serverGrouping is set to true /// the data method will return the group items.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 empty array if the data source hasn't been populated with data items via the read, fetch or query methods. }, fetch: function(callback) { /// /// Reads the data items from a remote service (if the transport option is set) or from a JavaScript array (if the data option is set). /// /// The optional function which is executed when the remote request is finished. The function context (available via the this keyword) will be set to the data source instance. /// 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. }, 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, false. }, indexOf: function(dataItem) { /// /// Gets the index of the specified data item. /// /// The target data item. /// the index of the specified data item. Returns -1 if the data item is not found. }, insert: function(index,model) { /// /// Inserts a data item in the data source at the specified index. /// /// The zero-based index at which the data item will be inserted. /// Either a kendo.data.Model instance or JavaScript object containing the field values. /// the data item which is inserted. }, 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. /// 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 don't 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 item(s) 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 item(s) 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. }, pushUpdate: function(items) { /// /// Updates the specified data item(s) 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 a 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 service (if the transport option is set) or from a JavaScript array (if the data option is set). /// /// Optional data to pass to the remote service. 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. }, sort: function(value) { /// /// Gets or sets the sort order which will be applied over the data items. /// /// The sort configuration. Accepts the same values as the sort option. /// the current sort configuration. }, sync: function() { /// /// Saves any data item changes.The sync method will request the remote service if: /// /// A promise that will be resolved when all sync requests have finished succesfully, 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 hasn't been populated with data items via the read, fetch or query methods. }, totalPages: function() { /// /// Gets the number of available pages. /// /// the available pages. }, view: function() { /// /// Returns the data items which correspond to the current page, filter, sort and group configuration. /// 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. } }; $.fn.getKendoDataSource = function() { /// /// Returns a reference to the kendo.data.DataSource widget, instantiated on the selector. /// /// The kendo.data.DataSource instance (if present). }; $.fn.kendoDataSource = function(options) { /// /// Instantiates a kendo.data.DataSource widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// aggregate — Array /// The aggregate(s) which are calculated when the data source populates with data. The supported aggregates are "average", "count", "max", "min" and "sum". /// /// autoSync — Boolean (default: false) /// If set to true the data source would automatically save any changed data items by calling the sync method. By default changes are not automatically saved. /// /// batch — Boolean (default: false) /// If set to true the data source will batch CRUD operation requests. For example updating two data items would cause one HTTP request instead of two. By default the data source /// makes a HTTP request for every CRUD operation. /// /// data — Array|String /// The array of data items which the data source contains. The data source will wrap those items as kendo.data.ObservableObject or kendo.data.Model (if schema.model is set).Can be set to a string value if the schema.type option is set to "xml". /// /// filter — Array|Object /// The filter(s) which is (are) applied over the data items. By default no filter is applied. /// /// group — Array|Object /// The grouping configuration of the data source. If set the data items will be grouped when the data source is populated. By default grouping is not applied. /// /// offlineStorage — String|Object /// The offline storage key or custom offline storage implementation. /// /// page — Number /// The page of data which the data source will return when the view method is invoked or request from the remote service. /// /// pageSize — Number /// The number of data items per page. /// /// schema — Object /// The configuration used to parse the remote service response. /// /// serverAggregates — Boolean (default: false) /// If set to true the data source will leave the aggregate calculation to the remote service. By default the data source calculates aggregates client-side. /// /// serverFiltering — Boolean (default: false) /// If set to true the data source will leave the filtering implementation to the remote service. By default the data source performs filtering client-side.By default the filter is sent to the server following jQuery's conventions.For example the filter { logic: "and", filters: [ { field: "name", operator: "startswith", value: "Jane" } ] } is sent as:Use the parameterMap option to send the filter option in a different format. /// /// serverGrouping — Boolean (default: false) /// If set to true the data source will leave the grouping implementation to the remote service. By default the data source performs grouping client-side.By default the group is sent to the server following jQuery's conventions.For example the group { field: "category", dir: "desc" } is sent as:Use the parameterMap option to send the group option in a different format. /// /// serverPaging — Boolean (default: false) /// If set to true the data source will leave the data item paging implementation to the remote service. By default the data source performs paging client-side.The following options are sent to the server when server paging is enabled:Use the parameterMap option to send the paging options in a different format. /// /// serverSorting — Boolean (default: false) /// If set to true the data source will leave the data item sorting implementation to the remote service. By default the data source performs sorting client-side.By default the sort is sent to the server following jQuery's conventions.For example the sort { field: "age", dir: "desc" } is sent as:Use the parameterMap option to send the paging options in a different format. /// /// sort — Array|Object /// The sort order which will be applied over the data items. By default the data items are not sorted. /// /// transport — Object /// The configuration used to load and save the data items. A data source is remote or local based on the way of it retrieves data items.Remote data sources load and save data items from and to a remote end-point (a.k.a. remote service or server). The transport option describes the remote service configuration - URL, HTTP verb, HTTP headers etc. /// The transport option can also be used to implement custom data loading and saving.Local data sources are bound to a JavaScript array via the data option. /// /// type — String /// If set the data source will use a predefined transport and/or schema. /// The supported values are "odata" which supports the OData v.2 protocol, "odata-v4" which partially supports /// odata version 4 and "signalr". /// /// /// /// The widget configuration options /// }; kendo.data.GanttDataSource = function() { }; kendo.data.GanttDataSource.prototype = { 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 hierrarchy. 0 for root level taks. /// /// 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. } }; $.fn.getKendoGanttDataSource = function() { /// /// Returns a reference to the kendo.data.GanttDataSource widget, instantiated on the selector. /// /// The kendo.data.GanttDataSource instance (if present). }; $.fn.kendoGanttDataSource = function(options) { /// /// Instantiates a kendo.data.GanttDataSource widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// schema — Object /// The schema configuration of the GanttDataSource. /// /// /// /// The widget configuration options /// }; kendo.data.GanttDependency = function() { }; kendo.data.GanttDependency.prototype = { bind: function(event, callback) { /// /// Binds to a widget event. /// /// The event name /// The callback to be executed when the event is triggered. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoGanttDependency = function() { /// /// Returns a reference to the kendo.data.GanttDependency widget, instantiated on the selector. /// /// The kendo.data.GanttDependency instance (if present). }; $.fn.kendoGanttDependency = function(options) { /// /// Instantiates a kendo.data.GanttDependency widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// id — String|Number|Object /// The mandatory unique identifier of the dependency. /// /// predecessorId — String|Number|Object /// The mandatory 'id' of the predecessor task. /// /// successorId — String|Number|Object /// The mandatory 'id' of the successor task. /// /// type — String|Number|Object /// The type of the dependency. The type is a value between 0 and 3, representing the four different dependency types: 0 - Finish-Finish, 1 - Finish-Start, 2 - Start-Finish, 3 - Start-Start. /// /// /// /// The widget configuration options /// }; kendo.data.GanttDependencyDataSource = function() { }; kendo.data.GanttDependencyDataSource.prototype = { 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. } }; $.fn.getKendoGanttDependencyDataSource = function() { /// /// Returns a reference to the kendo.data.GanttDependencyDataSource widget, instantiated on the selector. /// /// The kendo.data.GanttDependencyDataSource instance (if present). }; $.fn.kendoGanttDependencyDataSource = function(options) { /// /// Instantiates a kendo.data.GanttDependencyDataSource widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// schema — Object /// The schema configuration of the GanttDependencyDataSource. /// /// /// /// The widget configuration options /// }; kendo.data.GanttTask = function() { }; kendo.data.GanttTask.prototype = { duration: function() { /// /// Returns the gantt task length in milliseconds. /// /// the length of the task. }, isMilestone: function() { /// /// Checks whether the event has zero duration. /// /// return 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. } }; $.fn.getKendoGanttTask = function() { /// /// Returns a reference to the kendo.data.GanttTask widget, instantiated on the selector. /// /// The kendo.data.GanttTask instance (if present). }; $.fn.kendoGanttTask = function(options) { /// /// Instantiates a kendo.data.GanttTask widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// end — Date /// The date at which the gantt task ends. The end date is mandatory. /// /// expanded — Boolean (default: true) /// If set to true the task is expanded and it's child tasks are visible. /// /// id — String|Number|Object /// The mandatory unique identifier of the task. /// /// orderId — String|Number|Object (default: 0) /// The position of the task relative to its sibling tasks. /// /// parentId — String|Number|Object (default: null) /// The 'id' of the parent task. Required for child tasks. /// /// percentComplete — String|Number|Object (default: 0) /// The percentage of completion of the task. A value between 0 and 1, representing how much of a task is completed. /// /// start — Date /// The date at which the gantt task starts. The start date is mandatory. /// /// summary — Boolean (default: true) /// If set to true the task has child tasks. /// /// title — String (default: "") /// The title of the task which is displayed by the gantt widget. /// /// /// /// The widget configuration options /// }; kendo.data.HierarchicalDataSource = function() { }; kendo.data.HierarchicalDataSource.prototype = { bind: function(event, callback) { /// /// Binds to a widget event. /// /// The event name /// The callback to be executed when the event is triggered. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoHierarchicalDataSource = function() { /// /// Returns a reference to the kendo.data.HierarchicalDataSource widget, instantiated on the selector. /// /// The kendo.data.HierarchicalDataSource instance (if present). }; $.fn.kendoHierarchicalDataSource = function(options) { /// /// Instantiates a kendo.data.HierarchicalDataSource widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// schema — Object /// The schema configuration. See the DataSource.schema configuration for all available options. /// /// /// /// The widget configuration options /// }; kendo.data.Model = function() { }; kendo.data.Model.prototype = { bind: function() { /// /// Attaches a handler to an event. Examples and more info can be found in the bind section of the kendo.Observable API reference. /// }, editable: function(field) { /// /// Determines if the specified field is editable or not. /// /// The field to check. /// true if the field is editable; false otherwise. }, get: function() { /// /// Gets the value of the specified field. Inherited from kendo.data.ObservableObject. Examples and more info can be found in the get section of the /// ObservableObject API reference. /// }, isNew: function() { /// /// Checks if the Model is new or not. The id field is used to determine if a model instance is new or existing one. /// If the value of the field specified is equal to the default value (specified through the fields configuration) the model is considered as new. /// /// true if the model is new; false otherwise. }, set: function() { /// /// Sets the value of the specified field. Inherited from kendo.data.ObservableObject. Examples and more info can be found in the set section of the /// ObservableObject API reference. /// }, toJSON: function() { /// /// Creates a plain JavaScript object which contains all fields of the Model. Inherited from kendo.data.ObservableObject. Examples and more info can be found in the toJSON section of the /// ObservableObject API reference. /// }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoModel = function() { /// /// Returns a reference to the kendo.data.Model widget, instantiated on the selector. /// /// The kendo.data.Model instance (if present). }; $.fn.kendoModel = function(options) { /// /// Instantiates a kendo.data.Model widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.data.Node = function() { }; kendo.data.Node.prototype = { append: function(model) { /// /// Appends a new item to the children data source, and initializes it if necessary. /// /// The data for the new item }, level: function() { /// /// Gets the current nesting level of the node within the data source. /// /// the zero based level of the node. }, load: function() { /// /// Loads the child nodes in the child data source, supplying the id of the Node to the request. /// }, loaded: function() { /// /// Gets or sets the loaded flag of the Node. Setting the loaded flag to false allows reloading of child items. /// }, parentNode: function() { /// /// Gets the parent node. /// /// the parent of the node; null if the node is a root node or doesn't have a parent. }, bind: function(event, callback) { /// /// Binds to a widget event. /// /// The event name /// The callback to be executed when the event is triggered. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoNode = function() { /// /// Returns a reference to the kendo.data.Node widget, instantiated on the selector. /// /// The kendo.data.Node instance (if present). }; $.fn.kendoNode = function(options) { /// /// Instantiates a kendo.data.Node widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.data.ObservableArray = function() { }; kendo.data.ObservableArray.prototype = { bind: function(eventName,handler) { /// /// Attaches an event handler for the specified event. /// /// The name of the event. /// The function which will be invoked when the event is raised. }, join: function(separator) { /// /// Joins all items of an ObservableArray into a string. Equivalent of /// Array.prototype.join. /// /// Specifies the string to separate each item of the array. If omitted the array items are separated with a comma (,) }, parent: function() { /// /// Gets the parent of the array if such parent exists. /// /// the parent of the array; undefined if the array is not nested and doesn't have a parent. }, pop: function() { /// /// Removes the last item from an array and returns that item. Equivalent of Array.prototype.pop. /// /// the item which was removed. }, push: function() { /// /// Appends the given items to the array and returns the new length of the array. Equivalent of Array.prototype.push. /// The new items are wrapped as ObservableObject if they are complex objects. /// /// the new length of the array. }, slice: function(begin,end) { /// /// Returns a one-level deep copy of a portion of an array. Equivalent of /// Array.prototype.slice. /// The result of the slice method is not an instance of ObvservableArray. It is a regular JavaScript Array object. /// /// Zero-based index at which to begin extraction. /// Zero-based index at which to end extraction. If end is omitted, slice extracts to the end of the sequence. }, splice: function(index,howMany) { /// /// Changes an ObservableArray, by adding new items while removing old items. Equivalent of /// Array.prototype.splice /// /// Index at which to start changing the array. If negative, will begin that many elements from the end. /// An integer indicating the number of items to remove. If set to 0, no items are removed. In this case, you should specify at least one new item. /// containing the removed items. The result of the splice method is not an instance of ObvservableArray. }, shift: function() { /// /// Removes the first item from an ObvservableArray and returns that item. Equivalent of Array.prototype.shift. /// /// the item which was removed. }, toJSON: function() { /// /// Returns a JavaScript Array which represents the contents of the ObservableArray. /// }, unshift: function() { /// /// Adds one or more items to the beginning of an ObservableArray and returns the new length. Equivalent of Array.prototype.unshift. /// /// the new length of the array. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoObservableArray = function() { /// /// Returns a reference to the kendo.data.ObservableArray widget, instantiated on the selector. /// /// The kendo.data.ObservableArray instance (if present). }; $.fn.kendoObservableArray = function(options) { /// /// Instantiates a kendo.data.ObservableArray widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.data.ObservableObject = function() { }; kendo.data.ObservableObject.prototype = { bind: function() { /// /// Attaches a handler to an event. Examples and more info can be found in the bind section of the /// kendo.Observable API reference. /// }, get: function(name) { /// /// Gets the value of the specified field. /// /// The name of the field whose value is going to be returned. /// the value of the specified field. }, parent: function() { /// /// Gets the parent of the object if such parent exists. /// /// the parent of the object; undefined if the object is not nested and doesn't have a parent. }, set: function(name,value) { /// /// Sets the value of the specified field. /// /// The name of the field whose value is going to be returned. /// The new value of the field. }, toJSON: function() { /// /// Creates a plain JavaScript object which contains all fields of the ObservableObject. /// /// which contains only the fields of the ObservableObject. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoObservableObject = function() { /// /// Returns a reference to the kendo.data.ObservableObject widget, instantiated on the selector. /// /// The kendo.data.ObservableObject instance (if present). }; $.fn.kendoObservableObject = function(options) { /// /// Instantiates a kendo.data.ObservableObject widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.data.PivotDataSource = function() { }; kendo.data.PivotDataSource.prototype = { axes: function() { /// /// Get the parsed axes data /// /// the parsed axes data }, catalog: function(name) { /// /// Get or sets the current catalog name. /// /// The name of the catalog. /// the current catalog name. }, columns: function(val) { /// /// Get or sets the columns configuration. /// /// The columns configuration. Accepts the same values as the columns option. /// the current columns configuration. }, cube: function(name) { /// /// Get or sets the current cube name. /// /// The name of the cube. /// the current cube name. }, discover: function(options) { /// /// Starts discover request with given options. /// /// The options of the discover request /// Deferred object }, measures: function(val) { /// /// Get or sets the measures configuration. /// /// The measures configuration. Accepts the same values as the measures option. /// the current measures configuration. }, measuresAxis: function() { /// /// Get the name of the axis on which measures are displayed. /// /// the axis name. }, rows: function(val) { /// /// Get or sets the rows configuration. /// /// The rows configuration. Accepts the same values as the row option. /// the current rows configuration. }, schemaCatalogs: function() { /// /// Request catalogs information. /// /// Deferred object }, schemaCubes: function() { /// /// Request cubes schema information. /// /// Deferred object }, schemaDimensions: function() { /// /// Request dimensions schema information. /// /// Deferred object }, schemaHierarchies: function(dimensionName) { /// /// Request hierarchies schema information. /// /// The name of the dimensions which is 'owner' of the hierarchy. /// Deferred object }, schemaLevels: function(hierarchyName) { /// /// Request levels schema information. /// /// The name of the hierarchy which is 'owner' of the level. /// Deferred object }, schemaMeasures: function() { /// /// Request measures schema information. /// /// 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. } }; $.fn.getKendoPivotDataSource = function() { /// /// Returns a reference to the kendo.data.PivotDataSource widget, instantiated on the selector. /// /// The kendo.data.PivotDataSource instance (if present). }; $.fn.kendoPivotDataSource = function(options) { /// /// Instantiates a kendo.data.PivotDataSource widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// columns — Array /// The configuration of columns axis members. An array of JavaScript objects or strings. A JavaScript objects are interpreted as column descriptors. Strings are interpreted as the hierarchal name of the member. /// /// measures — Array|Object /// The configuration of measures. An string array which values are interpreted as the name of the measures to be loaded. /// Measures can be defined as a list of objects with name and type fields: /// /// rows — Array /// The configuration of rows axis members. An array of JavaScript objects or strings. A JavaScript objects are interpreted as rows descriptors. Strings are interpreted as the hierarchal name of the member. /// /// transport — Object /// The configuration used to load data items and discover schema information. /// /// schema — Object /// The schema configuration of the PivotDataSource. /// /// /// /// The widget configuration options /// }; kendo.data.SchedulerDataSource = function() { }; kendo.data.SchedulerDataSource.prototype = { 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. } }; $.fn.getKendoSchedulerDataSource = function() { /// /// Returns a reference to the kendo.data.SchedulerDataSource widget, instantiated on the selector. /// /// The kendo.data.SchedulerDataSource instance (if present). }; $.fn.kendoSchedulerDataSource = function(options) { /// /// Instantiates a kendo.data.SchedulerDataSource widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// schema — Object /// The schema configuration of the SchedulerDataSource. /// /// /// /// The widget configuration options /// }; kendo.data.SchedulerEvent = function() { }; kendo.data.SchedulerEvent.prototype = { 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. } }; $.fn.getKendoSchedulerEvent = function() { /// /// Returns a reference to the kendo.data.SchedulerEvent widget, instantiated on the selector. /// /// The kendo.data.SchedulerEvent instance (if present). }; $.fn.kendoSchedulerEvent = function(options) { /// /// Instantiates a kendo.data.SchedulerEvent widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// description — String (default: "") /// The optional event description. /// /// end — Date /// The date at which the scheduler event ends. The end date is mandatory. /// /// endTimezone — String (default: undefined) /// The timezone of the end date. If not specified the timezone will be used.The complete list of the supported timezones is available in the List of IANA time zones Wikipedia page. /// /// id — String|Number|Object /// The mandatory unique identifier of the event. /// /// isAllDay — Boolean (default: false) /// If set to true the event is "all day". By default events are not all day. /// /// recurrenceException — String (default: undefined) /// The recurrence exceptions. A list of semi-colon separated dates formatted using the yyyyMMddTHHmmssZ format string. /// /// recurrenceId — String|Number|Object (default: undefined) /// The id of the recurrence parent event. Required for events that are recurrence exceptions. /// /// recurrenceRule — String (default: undefined) /// The recurrence rule describing the recurring pattern of the event. The format follows the iCal specification. /// /// start — Date /// The date at which the scheduler event starts. The start date is mandatory. /// /// startTimezone — String (default: undefined) /// The timezone of the start date. If not specified the timezone will be used.The complete list of the supported timezones is available in the List of IANA time zones Wikipedia page. /// /// title — String (default: "") /// The title of the event which is displayed by the scheduler widget. /// /// /// /// The widget configuration options /// }; kendo.data.TreeListDataSource = function() { }; kendo.data.TreeListDataSource.prototype = { 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 hierachy 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. } }; $.fn.getKendoTreeListDataSource = function() { /// /// Returns a reference to the kendo.data.TreeListDataSource widget, instantiated on the selector. /// /// The kendo.data.TreeListDataSource instance (if present). }; $.fn.kendoTreeListDataSource = function(options) { /// /// Instantiates a kendo.data.TreeListDataSource widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// schema — Object /// The schema configuration of the TreeListDataSource. /// /// /// /// The widget configuration options /// }; kendo.data.TreeListModel = function() { }; kendo.data.TreeListModel.prototype = { 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. } }; $.fn.getKendoTreeListModel = function() { /// /// Returns a reference to the kendo.data.TreeListModel widget, instantiated on the selector. /// /// The kendo.data.TreeListModel instance (if present). }; $.fn.kendoTreeListModel = function(options) { /// /// Instantiates a kendo.data.TreeListModel widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; if (!kendo.drawing) { kendo.drawing = {}; } kendo.drawing.Arc = function() { }; kendo.drawing.Arc.prototype = { 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. }, 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. } }; $.fn.getKendoArc = function() { /// /// Returns a reference to the kendo.drawing.Arc widget, instantiated on the selector. /// /// The kendo.drawing.Arc instance (if present). }; $.fn.kendoArc = function(options) { /// /// Instantiates a kendo.drawing.Arc widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// clip — kendo.drawing.Path /// The element clipping path. /// Inherited from Element.clip /// /// fill — kendo.drawing.FillOptions /// The fill options of the shape. /// /// opacity — Number /// The element opacity. /// Inherited from Element.opacity /// /// stroke — kendo.drawing.StrokeOptions /// The stroke options of the shape. /// /// transform — kendo.geometry.Transformation /// The transformation to apply to this element. /// Inherited from Element.transform /// /// visible — Boolean /// A flag, indicating if the element is visible. /// Inherited from Element.visible /// /// /// /// The widget configuration options /// }; kendo.drawing.Circle = function() { }; kendo.drawing.Circle.prototype = { 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. }, 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. } }; $.fn.getKendoCircle = function() { /// /// Returns a reference to the kendo.drawing.Circle widget, instantiated on the selector. /// /// The kendo.drawing.Circle instance (if present). }; $.fn.kendoCircle = function(options) { /// /// Instantiates a kendo.drawing.Circle widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// clip — kendo.drawing.Path /// The element clipping path. /// Inherited from Element.clip /// /// fill — kendo.drawing.FillOptions /// The fill options of the shape. /// /// opacity — Number /// The element opacity. /// Inherited from Element.opacity /// /// stroke — kendo.drawing.StrokeOptions /// The stroke options of the shape. /// /// transform — kendo.geometry.Transformation /// The transformation to apply to this element. /// Inherited from Element.transform /// /// visible — Boolean /// A flag, indicating if the element is visible. /// Inherited from Element.visible /// /// /// /// The widget configuration options /// }; kendo.drawing.Element = function() { }; kendo.drawing.Element.prototype = { 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. }, 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. } }; $.fn.getKendoElement = function() { /// /// Returns a reference to the kendo.drawing.Element widget, instantiated on the selector. /// /// The kendo.drawing.Element instance (if present). }; $.fn.kendoElement = function(options) { /// /// Instantiates a kendo.drawing.Element widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// clip — kendo.drawing.Path /// The clipping path for this element.The path instance will be monitored for changes. /// It can be replaced by calling the clip method. /// /// opacity — Number /// The element opacity. /// /// transform — kendo.geometry.Transformation /// The transformation to apply to this element. /// /// visible — Boolean /// A flag, indicating if the element is visible. /// /// /// /// The widget configuration options /// }; kendo.drawing.FillOptions = function() { }; kendo.drawing.FillOptions.prototype = { bind: function(event, callback) { /// /// Binds to a widget event. /// /// The event name /// The callback to be executed when the event is triggered. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoFillOptions = function() { /// /// Returns a reference to the kendo.drawing.FillOptions widget, instantiated on the selector. /// /// The kendo.drawing.FillOptions instance (if present). }; $.fn.kendoFillOptions = function(options) { /// /// Instantiates a kendo.drawing.FillOptions widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.drawing.Gradient = function() { }; kendo.drawing.Gradient.prototype = { 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. } }; $.fn.getKendoGradient = function() { /// /// Returns a reference to the kendo.drawing.Gradient widget, instantiated on the selector. /// /// The kendo.drawing.Gradient instance (if present). }; $.fn.kendoGradient = function(options) { /// /// Instantiates a kendo.drawing.Gradient widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// stops — Array /// The color stops of the gradient. /// Can contain either plain objects or GradientStop instances. /// /// /// /// The widget configuration options /// }; kendo.drawing.GradientStop = function() { }; kendo.drawing.GradientStop.prototype = { bind: function(event, callback) { /// /// Binds to a widget event. /// /// The event name /// The callback to be executed when the event is triggered. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoGradientStop = function() { /// /// Returns a reference to the kendo.drawing.GradientStop widget, instantiated on the selector. /// /// The kendo.drawing.GradientStop instance (if present). }; $.fn.kendoGradientStop = function(options) { /// /// Instantiates a kendo.drawing.GradientStop widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// offset — Number /// The stop offset from the start of the element. /// Ranges from 0 (start of gradient) to 1 (end of gradient). /// /// color — String /// 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. /// /// opacity — Number /// The fill opacity. /// Ranges from 0 (completely transparent) to 1 (completely opaque). /// /// /// /// The widget configuration options /// }; kendo.drawing.Group = function() { }; kendo.drawing.Group.prototype = { 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. }, 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. } }; $.fn.getKendoGroup = function() { /// /// Returns a reference to the kendo.drawing.Group widget, instantiated on the selector. /// /// The kendo.drawing.Group instance (if present). }; $.fn.kendoGroup = function(options) { /// /// Instantiates a kendo.drawing.Group widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// clip — kendo.drawing.Path /// The group clipping path. /// Inherited from Element.clip /// /// opacity — Number /// The group opacity. /// Inherited from Element.opacityThe opacity of any child groups and elements will be multiplied by this value. /// /// pdf — kendo.drawing.PDFOptions /// Page options to apply during PDF export. /// /// transform — kendo.geometry.Transformation /// The transformation to apply to this group and its children. /// Inherited from Element.transform /// /// visible — Boolean /// A flag, indicating if the group and its children are visible. /// Inherited from Element.visible /// /// /// /// The widget configuration options /// }; kendo.drawing.Image = function() { }; kendo.drawing.Image.prototype = { 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. }, 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. } }; $.fn.getKendoImage = function() { /// /// Returns a reference to the kendo.drawing.Image widget, instantiated on the selector. /// /// The kendo.drawing.Image instance (if present). }; $.fn.kendoImage = function(options) { /// /// Instantiates a kendo.drawing.Image widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// clip — kendo.drawing.Path /// The element clipping path. /// Inherited from Element.clip /// /// opacity — Number /// The element opacity. /// Inherited from Element.opacity /// /// transform — kendo.geometry.Transformation /// The transformation to apply to this element. /// Inherited from Element.transform /// /// visible — Boolean /// A flag, indicating if the element is visible. /// Inherited from Element.visible /// /// /// /// The widget configuration options /// }; kendo.drawing.Layout = function() { }; kendo.drawing.Layout.prototype = { 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. } }; $.fn.getKendoLayout = function() { /// /// Returns a reference to the kendo.drawing.Layout widget, instantiated on the selector. /// /// The kendo.drawing.Layout instance (if present). }; $.fn.kendoLayout = function(options) { /// /// Instantiates a kendo.drawing.Layout widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// alignContent — String (default: "start") /// Specifies the alignment of the content. /// /// alignItems — String (default: "start") /// Specifies the alignment of the items based. /// /// justifyContent — String (default: "start") /// Specifies how should the content be justified. /// /// lineSpacing — Number (default: 0) /// Specifies the distance between the lines for wrapped layout. /// /// spacing — Number (default: 0) /// Specifies the distance between the elements. /// /// orientation — String (default: "horizontal") /// Specifies layout orientation. The supported values are: /// /// wrap — Boolean (default: true) /// Specifies the behavior when the elements size exceeds the rectangle size. If set to true, the elements will be moved to the next "line". If set to false, the layout will be scaled so that the elements fit in the rectangle. /// /// /// /// The widget configuration options /// }; kendo.drawing.LinearGradient = function() { }; kendo.drawing.LinearGradient.prototype = { 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. } }; $.fn.getKendoLinearGradient = function() { /// /// Returns a reference to the kendo.drawing.LinearGradient widget, instantiated on the selector. /// /// The kendo.drawing.LinearGradient instance (if present). }; $.fn.kendoLinearGradient = function(options) { /// /// Instantiates a kendo.drawing.LinearGradient widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// stops — Array /// The color stops of the gradient. /// Can contain either plain objects or GradientStop instances. /// /// /// /// The widget configuration options /// }; kendo.drawing.MultiPath = function() { }; kendo.drawing.MultiPath.prototype = { 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. }, 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. } }; $.fn.getKendoMultiPath = function() { /// /// Returns a reference to the kendo.drawing.MultiPath widget, instantiated on the selector. /// /// The kendo.drawing.MultiPath instance (if present). }; $.fn.kendoMultiPath = function(options) { /// /// Instantiates a kendo.drawing.MultiPath widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// clip — kendo.drawing.Path /// The element clipping path. /// Inherited from Element.clip /// /// fill — kendo.drawing.FillOptions /// The fill options of the shape. /// /// opacity — Number /// The element opacity. /// Inherited from Element.opacity /// /// stroke — kendo.drawing.StrokeOptions /// The stroke options of the shape. /// /// transform — kendo.geometry.Transformation /// The transformation to apply to this element. /// Inherited from Element.transform /// /// visible — Boolean /// A flag, indicating if the element is visible. /// Inherited from Element.visible /// /// /// /// The widget configuration options /// }; kendo.drawing.OptionsStore = function() { }; kendo.drawing.OptionsStore.prototype = { 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. } }; $.fn.getKendoOptionsStore = function() { /// /// Returns a reference to the kendo.drawing.OptionsStore widget, instantiated on the selector. /// /// The kendo.drawing.OptionsStore instance (if present). }; $.fn.kendoOptionsStore = function(options) { /// /// Instantiates a kendo.drawing.OptionsStore widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.drawing.PDFOptions = function() { }; kendo.drawing.PDFOptions.prototype = { bind: function(event, callback) { /// /// Binds to a widget event. /// /// The event name /// The callback to be executed when the event is triggered. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoPDFOptions = function() { /// /// Returns a reference to the kendo.drawing.PDFOptions widget, instantiated on the selector. /// /// The kendo.drawing.PDFOptions instance (if present). }; $.fn.kendoPDFOptions = function(options) { /// /// Instantiates a kendo.drawing.PDFOptions widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.drawing.Path = function() { }; kendo.drawing.Path.prototype = { 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. }, 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. } }; $.fn.getKendoPath = function() { /// /// Returns a reference to the kendo.drawing.Path widget, instantiated on the selector. /// /// The kendo.drawing.Path instance (if present). }; $.fn.kendoPath = function(options) { /// /// Instantiates a kendo.drawing.Path widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// clip — kendo.drawing.Path /// The element clipping path. /// Inherited from Element.clip /// /// fill — kendo.drawing.FillOptions /// The fill options of the shape. /// /// opacity — Number /// The element opacity. /// Inherited from Element.opacity /// /// stroke — kendo.drawing.StrokeOptions /// The stroke options of the shape. /// /// transform — kendo.geometry.Transformation /// The transformation to apply to this element. /// Inherited from Element.transform /// /// visible — Boolean /// A flag, indicating if the element is visible. /// Inherited from Element.visible /// /// /// /// The widget configuration options /// }; kendo.drawing.RadialGradient = function() { }; kendo.drawing.RadialGradient.prototype = { 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. } }; $.fn.getKendoRadialGradient = function() { /// /// Returns a reference to the kendo.drawing.RadialGradient widget, instantiated on the selector. /// /// The kendo.drawing.RadialGradient instance (if present). }; $.fn.kendoRadialGradient = function(options) { /// /// Instantiates a kendo.drawing.RadialGradient widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// center — Array|kendo.geometry.Point /// The center of the gradient.Coordinates are relative to the shape bounding box. /// For example [0, 0] is top left and [1, 1] is bottom right. /// /// radius — Number (default: 1) /// The radius of the radial gradient relative to the shape bounding box. /// /// stops — Array /// The color stops of the gradient. /// Can contain either plain objects or GradientStop instances. /// /// /// /// The widget configuration options /// }; kendo.drawing.Rect = function() { }; kendo.drawing.Rect.prototype = { 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. }, 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. } }; $.fn.getKendoRect = function() { /// /// Returns a reference to the kendo.drawing.Rect widget, instantiated on the selector. /// /// The kendo.drawing.Rect instance (if present). }; $.fn.kendoRect = function(options) { /// /// Instantiates a kendo.drawing.Rect widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// clip — kendo.drawing.Path /// The element clipping path. /// Inherited from Element.clip /// /// fill — kendo.drawing.FillOptions /// The fill options of the shape. /// /// opacity — Number /// The element opacity. /// Inherited from Element.opacity /// /// stroke — kendo.drawing.StrokeOptions /// The stroke options of the shape. /// /// transform — kendo.geometry.Transformation /// The transformation to apply to this element. /// Inherited from Element.transform /// /// visible — Boolean /// A flag, indicating if the element is visible. /// Inherited from Element.visible /// /// /// /// The widget configuration options /// }; kendo.drawing.Segment = function() { }; kendo.drawing.Segment.prototype = { 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. } }; $.fn.getKendoSegment = function() { /// /// Returns a reference to the kendo.drawing.Segment widget, instantiated on the selector. /// /// The kendo.drawing.Segment instance (if present). }; $.fn.kendoSegment = function(options) { /// /// Instantiates a kendo.drawing.Segment widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.drawing.StrokeOptions = function() { }; kendo.drawing.StrokeOptions.prototype = { bind: function(event, callback) { /// /// Binds to a widget event. /// /// The event name /// The callback to be executed when the event is triggered. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoStrokeOptions = function() { /// /// Returns a reference to the kendo.drawing.StrokeOptions widget, instantiated on the selector. /// /// The kendo.drawing.StrokeOptions instance (if present). }; $.fn.kendoStrokeOptions = function(options) { /// /// Instantiates a kendo.drawing.StrokeOptions widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.drawing.Surface = function() { }; kendo.drawing.Surface.prototype = { 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. }, 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. }, bind: function(event, callback) { /// /// Binds to a widget event. /// /// The event name /// The callback to be executed when the event is triggered. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoSurface = function() { /// /// Returns a reference to the kendo.drawing.Surface widget, instantiated on the selector. /// /// The kendo.drawing.Surface instance (if present). }; $.fn.kendoSurface = function(options) { /// /// Instantiates a kendo.drawing.Surface widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// type — String /// The preferred type of surface to create. /// Supported types (case insensitive): /// - svg /// - canvas /// - vmlThis option will be ignored if not supported by the browser. /// See Supported Browsers /// /// height — String (default: "100%") /// The height of the surface element. /// By default the surface will expand to fill the height of the first positioned container. /// /// width — String (default: "100%") /// The width of the surface element. /// By default the surface will expand to fill the width of the first positioned container. /// /// /// /// The widget configuration options /// }; kendo.drawing.Text = function() { }; kendo.drawing.Text.prototype = { 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. }, 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. } }; $.fn.getKendoText = function() { /// /// Returns a reference to the kendo.drawing.Text widget, instantiated on the selector. /// /// The kendo.drawing.Text instance (if present). }; $.fn.kendoText = function(options) { /// /// Instantiates a kendo.drawing.Text widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// clip — kendo.drawing.Path /// The element clipping path. /// Inherited from Element.clip /// /// fill — kendo.drawing.FillOptions /// The fill options of the text. /// /// font — String /// The font to use for rendering the text. /// Accepts the standard CSS font syntax.Examples of valid font values: /// * Size and family: "2em 'Open Sans', sans-serif" /// * Style, size and family: "italic 2em 'Open Sans', sans-serif" /// /// opacity — Number /// The element opacity. /// Inherited from Element.opacity /// /// stroke — kendo.drawing.StrokeOptions /// The stroke options of the text. /// /// transform — kendo.geometry.Transformation /// The transformation to apply to this element. /// Inherited from Element.transform /// /// visible — Boolean /// A flag, indicating if the element is visible. /// Inherited from Element.visible /// /// /// /// The widget configuration options /// }; if (!kendo.effects) { kendo.effects = {}; } kendo.geometry.Arc = function() { }; kendo.geometry.Arc.prototype = { 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 anticlokwise flag. /// /// The anticlokwise 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 anticlokwise 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 atart 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. } }; $.fn.getKendoArc = function() { /// /// Returns a reference to the kendo.geometry.Arc widget, instantiated on the selector. /// /// The kendo.geometry.Arc instance (if present). }; $.fn.kendoArc = function(options) { /// /// Instantiates a kendo.geometry.Arc widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.geometry.Circle = function() { }; kendo.geometry.Circle.prototype = { 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. } }; $.fn.getKendoCircle = function() { /// /// Returns a reference to the kendo.geometry.Circle widget, instantiated on the selector. /// /// The kendo.geometry.Circle instance (if present). }; $.fn.kendoCircle = function(options) { /// /// Instantiates a kendo.geometry.Circle widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.geometry.Matrix = function() { }; kendo.geometry.Matrix.prototype = { 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. } }; $.fn.getKendoMatrix = function() { /// /// Returns a reference to the kendo.geometry.Matrix widget, instantiated on the selector. /// /// The kendo.geometry.Matrix instance (if present). }; $.fn.kendoMatrix = function(options) { /// /// Instantiates a kendo.geometry.Matrix widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.geometry.Point = function() { }; kendo.geometry.Point.prototype = { 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. } }; $.fn.getKendoPoint = function() { /// /// Returns a reference to the kendo.geometry.Point widget, instantiated on the selector. /// /// The kendo.geometry.Point instance (if present). }; $.fn.kendoPoint = function(options) { /// /// Instantiates a kendo.geometry.Point widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.geometry.Rect = function() { }; kendo.geometry.Rect.prototype = { 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. } }; $.fn.getKendoRect = function() { /// /// Returns a reference to the kendo.geometry.Rect widget, instantiated on the selector. /// /// The kendo.geometry.Rect instance (if present). }; $.fn.kendoRect = function(options) { /// /// Instantiates a kendo.geometry.Rect widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.geometry.Size = function() { }; kendo.geometry.Size.prototype = { clone: function() { /// /// Creates a new instance with the same width and height. /// /// A new Size instance with the same coordinates. }, 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. } }; $.fn.getKendoSize = function() { /// /// Returns a reference to the kendo.geometry.Size widget, instantiated on the selector. /// /// The kendo.geometry.Size instance (if present). }; $.fn.kendoSize = function(options) { /// /// Instantiates a kendo.geometry.Size widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.geometry.Transformation = function() { }; kendo.geometry.Transformation.prototype = { 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. } }; $.fn.getKendoTransformation = function() { /// /// Returns a reference to the kendo.geometry.Transformation widget, instantiated on the selector. /// /// The kendo.geometry.Transformation instance (if present). }; $.fn.kendoTransformation = function(options) { /// /// Instantiates a kendo.geometry.Transformation widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.ooxml.Workbook = function() { }; kendo.ooxml.Workbook.prototype = { toDataURL: function() { /// /// Creates an Excel file that represents the current workbook and returns it as a data URL. /// /// 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. } }; $.fn.getKendoWorkbook = function() { /// /// Returns a reference to the kendo.ooxml.Workbook widget, instantiated on the selector. /// /// The kendo.ooxml.Workbook instance (if present). }; $.fn.kendoWorkbook = function(options) { /// /// Instantiates a kendo.ooxml.Workbook widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// creator — String (default: "Kendo UI") /// The creator of the workbook. /// /// date — Date /// The date when the workbook is created. The default value is new Date(). /// /// sheets — Array /// The sheets of the workbook. Every sheet represents a page from the final Excel file. /// /// /// /// The widget configuration options /// }; kendo.spreadsheet.CustomFilter = function() { }; kendo.spreadsheet.CustomFilter.prototype = { init: function(options) { /// /// The constructor of the filter. /// /// An object which may contain the following keys: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. } }; $.fn.getKendoCustomFilter = function() { /// /// Returns a reference to the kendo.spreadsheet.CustomFilter widget, instantiated on the selector. /// /// The kendo.spreadsheet.CustomFilter instance (if present). }; $.fn.kendoCustomFilter = function(options) { /// /// Instantiates a kendo.spreadsheet.CustomFilter widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.spreadsheet.DynamicFilter = function() { }; kendo.spreadsheet.DynamicFilter.prototype = { init: function(options) { /// /// The constructor of the filter. /// /// An object which should have a type field set 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. } }; $.fn.getKendoDynamicFilter = function() { /// /// Returns a reference to the kendo.spreadsheet.DynamicFilter widget, instantiated on the selector. /// /// The kendo.spreadsheet.DynamicFilter instance (if present). }; $.fn.kendoDynamicFilter = function(options) { /// /// Instantiates a kendo.spreadsheet.DynamicFilter widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.spreadsheet.Range = function() { }; kendo.spreadsheet.Range.prototype = { 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 accepts any valid Length value. /// 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 accepts any valid Length value. /// 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 accepts any valid Length value. /// 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 accepts any valid Length value. /// the current value of the top-left cell of 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. }, filter: function(filter) { /// /// Enables/disables or sets the filter for a given range. /// /// Determines the action performed by the method. }, 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 asetter, 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: /// /// 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. }, 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.``` ///
/// script``` ///
}, sort: function(sort) { /// /// Sorts the rows in the range. /// /// Determines the action performed by the method. }, unmerge: function() { /// /// Un-merges any merged cells which are included in the range.``` ///
/// script``` ///
}, values: function(values) { /// /// 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. }, 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" 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. }, 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. } }; $.fn.getKendoRange = function() { /// /// Returns a reference to the kendo.spreadsheet.Range widget, instantiated on the selector. /// /// The kendo.spreadsheet.Range instance (if present). }; $.fn.kendoRange = function(options) { /// /// Instantiates a kendo.spreadsheet.Range widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.spreadsheet.Sheet = function() { }; kendo.spreadsheet.Sheet.prototype = { 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. }, 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 }, fromJSON: function(data) { /// /// Loads the widget state and sheet data from JSON.The schema follows the same structure as the widget 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) { /// /// Returns a Range for the given range specification. /// /// A1 or RC notation reference of the cells. /// a range object, which may be used to manipulate the cell state further. }, 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. }, toJSON: function() { /// /// Stores the widget state and sheet data to JSON format.The schema follows the same structure as the widget 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. } }; $.fn.getKendoSheet = function() { /// /// Returns a reference to the kendo.spreadsheet.Sheet widget, instantiated on the selector. /// /// The kendo.spreadsheet.Sheet instance (if present). }; $.fn.kendoSheet = function(options) { /// /// Instantiates a kendo.spreadsheet.Sheet widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.spreadsheet.TopFilter = function() { }; kendo.spreadsheet.TopFilter.prototype = { init: function(options) { /// /// The constructor of the filter. /// /// An object which may contain the following keys: }, bind: function(event, callback) { /// /// Binds to a widget event. /// /// The event name /// The callback to be executed when the event is triggered. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoTopFilter = function() { /// /// Returns a reference to the kendo.spreadsheet.TopFilter widget, instantiated on the selector. /// /// The kendo.spreadsheet.TopFilter instance (if present). }; $.fn.kendoTopFilter = function(options) { /// /// Instantiates a kendo.spreadsheet.TopFilter widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; kendo.spreadsheet.ValueFilter = function() { }; kendo.spreadsheet.ValueFilter.prototype = { init: function(options) { /// /// The constructor of the filter. /// /// An object which may contain the following keys: }, bind: function(event, callback) { /// /// Binds to a widget event. /// /// The event name /// The callback to be executed when the event is triggered. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoValueFilter = function() { /// /// Returns a reference to the kendo.spreadsheet.ValueFilter widget, instantiated on the selector. /// /// The kendo.spreadsheet.ValueFilter instance (if present). }; $.fn.kendoValueFilter = function(options) { /// /// Instantiates a kendo.spreadsheet.ValueFilter widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// /// /// The widget configuration options /// }; if (!kendo.ui) { kendo.ui = {}; } kendo.ui.AutoComplete = function() { }; kendo.ui.AutoComplete.prototype = { 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. /// }, 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. } }; $.fn.getKendoAutoComplete = function() { /// /// Returns a reference to the kendo.ui.AutoComplete widget, instantiated on the selector. /// /// The kendo.ui.AutoComplete instance (if present). }; $.fn.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 — 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. /// /// 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. /// /// 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. /// /// 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. /// /// 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. /// /// 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 (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). /// /// 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. /// /// virtual — Object (default: false) /// Enables the virtualization feature of the widget. /// /// /// /// The widget configuration options /// }; kendo.ui.Button = function() { }; kendo.ui.Button.prototype = { 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. } }; $.fn.getKendoButton = function() { /// /// Returns a reference to the kendo.ui.Button widget, instantiated on the selector. /// /// The kendo.ui.Button instance (if present). }; $.fn.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. /// /// 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 /// }; kendo.ui.Calendar = function() { }; kendo.ui.Calendar.prototype = { 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. /// }, 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. } }; $.fn.getKendoCalendar = function() { /// /// Returns a reference to the kendo.ui.Calendar widget, instantiated on the selector. /// /// The kendo.ui.Calendar instance (if present). }; $.fn.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: /// /// footer — String|Function /// The template which renders the footer. If false, the footer will not be rendered. /// /// format — String (default: "MM/dd/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. /// /// 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. /// /// start — String (default: "month") /// Specifies the start view. /// The following settings are available for the start value: /// /// value — Date (default: null) /// Specifies the selected date. /// /// /// /// The widget configuration options /// }; kendo.ui.ColorPalette = function() { }; kendo.ui.ColorPalette.prototype = { 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. } }; $.fn.getKendoColorPalette = function() { /// /// Returns a reference to the kendo.ui.ColorPalette widget, instantiated on the selector. /// /// The kendo.ui.ColorPalette instance (if present). }; $.fn.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 /// }; kendo.ui.ColorPicker = function() { }; kendo.ui.ColorPicker.prototype = { 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. } }; $.fn.getKendoColorPicker = function() { /// /// Returns a reference to the kendo.ui.ColorPicker widget, instantiated on the selector. /// /// The kendo.ui.ColorPicker instance (if present). }; $.fn.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. /// /// 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: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 /// }; kendo.ui.ComboBox = function() { }; kendo.ui.ComboBox.prototype = { 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. }, 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. }, focus: function() { /// /// Focuses the widget. /// }, open: function() { /// /// Opens the popup. /// }, 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. } }; $.fn.getKendoComboBox = function() { /// /// Returns a reference to the kendo.ui.ComboBox widget, instantiated on the selector. /// /// The kendo.ui.ComboBox instance (if present). }; $.fn.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. /// /// 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 the parent's dataValueField option will be used. /// Help topic showing how cascading functionality works /// /// 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. /// /// filter — String (default: "none") /// The filtering method used to determine the suggestions for the current value. Filtration is turned off by default. /// 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. /// /// 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 — String (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. /// /// 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. /// /// 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. /// /// virtual — Object (default: false) /// Enables the virtualization feature of the widget. /// /// /// /// The widget configuration options /// }; kendo.ui.ContextMenu = function() { }; kendo.ui.ContextMenu.prototype = { append: function(item,referenceItem) { /// /// Appends an item to a ContextMenu in the specified referenceItem's sub menu (or the root context menu 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. Root context menu if not specified. /// 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() { /// /// Prepares the ContextMenu 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(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. }, 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. } }; $.fn.getKendoContextMenu = function() { /// /// Returns a reference to the kendo.ui.ContextMenu widget, instantiated on the selector. /// /// The kendo.ui.ContextMenu instance (if present). }; $.fn.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 — Object /// A collection of Animation objects, used to change default animations. A value of false will disable all animations in the widget.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). /// /// closeOnClick — Boolean (default: true) /// Specifies that sub menus should close after item selection (provided they won't navigate). /// /// dataSource — Object|Array /// The data source of the widget which is used to render its items. Can be a JSON object/Array that contains an item or an Array of items to be rendered. /// Refer to the example below for a list of the supported properties. /// /// 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. /// /// 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 /// }; kendo.ui.DatePicker = function() { }; kendo.ui.DatePicker.prototype = { 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. } }; $.fn.getKendoDatePicker = function() { /// /// Returns a reference to the kendo.ui.DatePicker widget, instantiated on the selector. /// /// The kendo.ui.DatePicker instance (if present). }; $.fn.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 — 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. /// /// 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 /// Specifies the navigation depth. The following /// settings are available for the depth value: /// /// footer — String|Function /// The template which renders the footer of the calendar. If false, the footer will not be rendered. /// /// format — String (default: "MM/dd/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. /// /// 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. /// /// 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: /// /// value — Date (default: null) /// Specifies the selected date. /// /// /// /// The widget configuration options /// }; kendo.ui.DateTimePicker = function() { }; kendo.ui.DateTimePicker.prototype = { 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. } }; $.fn.getKendoDateTimePicker = function() { /// /// Returns a reference to the kendo.ui.DateTimePicker widget, instantiated on the selector. /// /// The kendo.ui.DateTimePicker instance (if present). }; $.fn.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 — 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. /// /// 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. /// /// 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: /// /// footer — String /// The template which renders the footer of the calendar. If false, the footer will not be rendered. /// /// format — String (default: "MM/dd/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. /// /// 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. /// /// 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: /// /// 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 /// }; kendo.ui.Draggable = function() { }; kendo.ui.Draggable.prototype = { 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. } }; $.fn.getKendoDraggable = function() { /// /// Returns a reference to the kendo.ui.Draggable widget, instantiated on the selector. /// /// The kendo.ui.Draggable instance (if present). }; $.fn.kendoDraggable = function(options) { /// /// Instantiates a kendo.ui.Draggable widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// axis — String (default: null) /// Constrains the hint movement to either the horizontal (x) or vertical (y) axis. Can be set to either "x" or "y". /// /// 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 — jQuery /// 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 /// }; kendo.ui.DropDownList = function() { }; kendo.ui.DropDownList.prototype = { 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. /// }, open: function() { /// /// Opens the popup. /// }, 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. }, 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) { /// /// Selects an 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. } }; $.fn.getKendoDropDownList = function() { /// /// Returns a reference to the kendo.ui.DropDownList widget, instantiated on the selector. /// /// The kendo.ui.DropDownList instance (if present). }; $.fn.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 — 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. /// /// 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 /// /// 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 cleared. /// /// 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. /// /// filter — String (default: "none") /// The filtering method used to determine the suggestions for the current value. Filtration is turned off by default. /// 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. /// /// 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 — String (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. /// /// 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. /// /// virtual — Object (default: false) /// Enables the virtualization feature of the widget. /// /// /// /// The widget configuration options /// }; kendo.ui.DropTarget = function() { }; kendo.ui.DropTarget.prototype = { destroyGroup: function() { /// /// Destroys all DropTarget instances from the group with the given name. /// }, bind: function(event, callback) { /// /// Binds to a widget event. /// /// The event name /// The callback to be executed when the event is triggered. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoDropTarget = function() { /// /// Returns a reference to the kendo.ui.DropTarget widget, instantiated on the selector. /// /// The kendo.ui.DropTarget instance (if present). }; $.fn.kendoDropTarget = function(options) { /// /// Instantiates a kendo.ui.DropTarget widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// group — String (default: "default") /// Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target. /// /// /// /// The widget configuration options /// }; kendo.ui.DropTargetArea = function() { }; kendo.ui.DropTargetArea.prototype = { bind: function(event, callback) { /// /// Binds to a widget event. /// /// The event name /// The callback to be executed when the event is triggered. }, unbind: function(event, callback) { /// /// Unbinds a callback from a widget event. /// /// The event name /// The callback to be removed. } }; $.fn.getKendoDropTargetArea = function() { /// /// Returns a reference to the kendo.ui.DropTargetArea widget, instantiated on the selector. /// /// The kendo.ui.DropTargetArea instance (if present). }; $.fn.kendoDropTargetArea = function(options) { /// /// Instantiates a kendo.ui.DropTargetArea widget based the DOM elements that match the selector. /// Accepts an object with the following configuration options: /// /// group — String (default: "default") /// Used to group sets of draggable and drop targets. A draggable with the same group value as a drop target will be accepted by the drop target. /// /// filter — String (default: 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 /// }; kendo.ui.Editor = function() { }; kendo.ui.Editor.prototype = { 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. /// }, 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