custom MVVM widget visibility binding issue

2 posts, 0 answers
  1. George
    George avatar
    55 posts
    Member since:
    Apr 2014

    Posted 05 Mar Link to this post


    I am trying to create a custom MVVM widget. I noticed that when my widget is bound and the "visible" binding is declared -- this error logs in the console:

    typeError: cannot read property '0' of undefined. 


    I have created a dojo from an example provided in your tutorial on how to build a custom widget and am able to reproduce:


    Please advise.

  2. Bozhidar
    Bozhidar avatar
    1159 posts

    Posted 07 Mar Link to this post


    The widgets rely on a "wrapper" property being available. In general it's the same as the element property, so you can do the following:

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top