Ticket #7801 (closed feature: fixed)

Opened 19 months ago

Last modified 11 months ago

Widget: Add document and window properties

Reported by: scott.gonzalez Owned by:
Priority: minor Milestone: 1.9.0
Component: ui.widget Version: 1.8.16
Keywords: Cc:
Blocking: Blocked by:

Description

Widgets frequently need to reference the document and/or window. However, the references are usually done with the document and window globals which breaks cross-window widgets. Adding properties that reference the document and window would make it much easier to build widgets properly.

Change History

comment:1 Changed 19 months ago by Scott González

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

Widget: Added window and document properties. Fixes #7801 - Widget: Add document and window properties.

Changeset: a0856efef3c392d413aa6cd9bd084dc601a337c6

comment:2 Changed 11 months ago by creage

We still miss these options for many of other widgets. The one I really miss is Datepicker - it is totally bound to top document/window, making it impossible to use in iframes.

comment:3 Changed 11 months ago by rdworth

Datepicker is unique in that it is the only one of all the interactions and all the widgets that does not use the widget factory, so it's not able to take advantage of a fix/feature like this. This will be handled in the Datepicker rewrite.

Note: See TracTickets for help on using tickets.