jQuery UI Widgets Forums Plugins AngularJS attach own object to settings object (angular)


This topic contains 1 reply, has 2 voices, and was last updated by  Hristo 7 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author

  • badera

    Dear all

    Sometimes, it would be practical, if we could attach an own object to store some own information to the settings object of a widget without getting an error, that this property is not known.
    This would be helpful, e.g. if we have an angular service which creates jqwidgets (we pass scope and settings name to it) and then, we have other service calls (scope and settings name as parameter) e.g. to reload data AND select a given index. In this case we could store the index to be selected in the own helper object attached in the settings object and use this then in the bindingcomplete function. As long as we cannnot do this, we need an additional scope variable, which would end up in having a second identifier per widget for the own ‘state information’… I hope you know what I mean.

    Is there probably already a specifiy name we can missuse for something like this? If not, I kindly ask to add this as new feature that we can e.g. store ‘userObject’ in the settings object without getting an error. Thanks!
    – badera

    • This topic was modified 7 years, 6 months ago by  admin. Reason: Moved to Angular Forum


    Hello badera,

    Thanks for this proposal and for your interest.
    We will discuss this scenario.

    Best Regards,
    Hristo Hristov

    jQWidgets team

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.