Ticket #9030 (closed feature: fixed)

Opened 15 months ago

Last modified 13 months ago

`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:
Blocking: Blocked by:

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

comment:1 Changed 15 months ago by gnarf

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

comment:3 Changed 13 months ago by Corey Frang

  • Status changed from assigned to closed
  • Resolution set to fixed

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.