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!
This topic was modified 6 years, 7 months ago by admin. Reason: Moved to Angular Forum