PanelBar TypeScript append, insertAfter, insertBefore argument types correct?

2 posts, 0 answers
  1. Matthias
    Matthias avatar
    20 posts
    Member since:
    Feb 2013

    Posted 27 Feb 2014 Link to this post

    The description for append, insertAfter and insertBefore I believe are not defined correctly in the TypeScript definition file.

    For example, for append(item, referenceItem ) as defined here:

    can be JSON or a string (text, url, etc.)

    However, the TypeScript definition defines both as strings.

    Do these interfaces need to be expanded to accept JSON object directly?

    Also the referenceItem parameters says that it can be omitted, but the interface does not indicate that with a '?'.
  2. Kamen Bundev
    Kamen Bundev avatar
    1532 posts

    Posted 04 Mar 2014 Link to this post

    Hi Matthias,

    Thank you for noticing this, seems the PanelBar and Menu methods were incorrectly described, which causes their TypeScript definitions to be wrong. I've fixed them and the fix will be available with the next internal build and later in the release. I've also updated your Telerik points for the find.

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