Skip to content
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.

Supported Types

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

Multiple types are separated with a | (pipe).

  ### item `Number|Element|jQuery`

  ### margin `Number|String|Object`

  ### margin.left `Number|String`

Automatic Linking

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"