Opened 10 years ago
Closed 10 years ago
#9030 closed feature (fixed)
`instance` method in widget prototype
Reported by: | Corey Frang | Owned by: | Corey Frang |
---|---|---|---|
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.
Change History (3)
comment:1 Changed 10 years ago by
Milestone: | none → 1.11.0 |
---|---|
Owner: | set to Corey Frang |
Status: | new → assigned |
comment:2 Changed 10 years ago by
comment:3 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Widget: Implement instance method on the bridge to return widget instance - Fixes #9030 - instance
method in widget prototype
Changeset: 36cb6f264dbe6b155f8fd97b0ee7615a0f1adedb
Note: See
TracTickets for help on using
tickets.
https://github.com/jquery/jquery-ui/pull/902