Opened 3 years ago

Closed 3 years ago

#9030 closed feature (fixed)

`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:


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 3 years ago by gnarf

  • Milestone changed from none to 1.11.0
  • Owner set to gnarf
  • Status changed from new to assigned

comment:3 Changed 3 years ago by Corey Frang

  • Resolution set to fixed
  • Status changed from assigned to 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.