ibm-js / delite

HTML Custom Element / Widget infrastructure
http://ibm-js.github.io/delite/
Other
68 stars 28 forks source link

HasDropDown: support setting anchor node to a node outside of root node #465

Closed wkeese closed 8 years ago

wkeese commented 8 years ago

Enhance HasDropDown so that you can set buttonNode etc., or maybe a new property, to point to an element (custom element or simple element) completely outside of the HasDropDown subclass. This would allow setting up "behaviors" on existing nodes to spawn dropdowns.

Also requires updates to activationTracker.js (to get "delite-deactivated" event for plain DOM node).