Skip to content

Typescript definition of JQuery data method does not include undefined for some components #6865

@nelito987

Description

@nelito987

In the Typescript bindings, the JQuery $("...").data("kendoXXX") Methods do not include undefined in there return values for the following componentes:

  • kendoAvatar

  • kendoCheckBox

  • kendoListView

  • kendoOrgChart

  • kendoRadioButton

https://docs.telerik.com/kendo-ui/intro/widget-basics/jquery-initialization#duplicate-initialization

-> in the second script section, it is also documented that it can return undefined when there is no widget instance found.

It also returns undefined, when the selector doesn't match any element.

Please include undefined in the return values.

Metadata

Metadata

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions