PopupDecorator.componentsproperty. So, I set the
controlParentNameof my PopupDecorator to the name of the ContextualPopup instance and all was good.
PopupMenu.componentsshould be rendered inside the client of the Scroller of the ScrollingMenu. This is where things got complicated...
controlParent. But once the ScrollingMenu is rendered,
controlParentshould change tot the ScrollingMenu, so it can cascade the content all the way down to the client of it's scroller.
enyo.Component.createChrometo create the Activator and ContextualPopup. It then sets the
controlParentto the ContextualPopup instance.
PopupDecorator.createChrometo create the ScrollingMenu after the Activator and ContextualPopup have been created. It then sets the
controlParentto the ScrollingMenu instance.
enyo.Component.createClientComponentswill create the content and it will be passed down to the client of the ScrollingMenu's scroller.
containerof the menu when creating the ScrollingMenu component. Are there any side-effects to using the
containerproperty on the child rather than using the
controlParentproperty on the ancestor? If so, this should probably also be documented.
It looks like you're new here. If you want to get involved, click one of these buttons!