Search and Top Navigation
#9030 closed feature (fixed)
Opened January 30, 2013 01:43PM UTC
Closed March 19, 2013 04:56PM UTC
`instance` method in widget prototype
Reported by: | gnarf | Owned by: | gnarf |
---|---|---|---|
Priority: | minor | Milestone: | 1.11.0 |
Component: | ui.widget | Version: | 1.10.0 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
It would be nice to add a instance method, quite simply:
instance: function() { return this; }
It would make a way to obtain the widget instance guaranteed, we can avoid asking
.data()for it, and avoid any potential problems in the future with moving the storage location of the widget instance.