-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Types
Desislava Mihaylova edited this page Sep 28, 2018
·
6 revisions
Many of the sections in the Kendo UI Core API documentation require you to set a mandatory type—configuration options, event arguments, method parameters, and fields. Types are specified in code blocks—for example, String
.
Types are case-sensitive.
The following types are available:
- String
- Number
- Object
- Array
- Function
- Date
- Boolean
- jQuery—The result of a jQuery operation.
- jqXHR—The jQuery version of the
XMLHttpRequest
. - Element—A DOM element.
- Fully qualified Kendo UI object—For example,
kendo.data.ObservableObject
.
Multiple types are separated with a |
(pipe).
### item `Number|Element|jQuery`
### margin `Number|String|Object`
### margin.left `Number|String`
The type names in declarations are linked to their corresponding article. Mappings that are defined in _config.yml
can be used to link external resources or for types that fail to link automatically.
type_links
"jQuery": "http://api.jquery.com/Types/#jQuery"
Markdown Fundamentals
- Markdown Basics (Official GitHub Documentation)
- GitHub Flavored Markdown (Official GitHub Documentation)
Kendo UI Core API Documentation