API reference for the .data function

2 posts, 0 answers
  1. Ross
    Ross avatar
    1 posts
    Member since:
    Jun 2013

    Posted 17 Jun 2013 Link to this post

    An example line from my code:


    How can I find a reference for the '.data("widget")' function, I have searched everywhere.

    The examples clearly display how this function is used, but not once was it introduced in the tutorial documentation with a summary of it's functionality and why it is used.

    My naive guess is that it returns an object wrapping the HTML element to provide methods associated with the widget, but still I would love to see a reference for this function to better understand how/when to use it and precisely what it does.

    I can not find a reference to it in the API documentation.


  2. Atanas Korchev
    Atanas Korchev avatar
    8462 posts

    Posted 18 Jun 2013 Link to this post


    The documentation can be found here. That help topic explains what .data() is (comes from jQuery) and how it should be used.

    Atanas Korchev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top