The menu container web component <cq-menu-container>
.
Generates a menu based on the value of the cq-name
attribute.
- Since:
-
7.5.0
Example
<cq-menu class="ciq-menu ciq-period">
<span>
<cq-clickable stxbind="Layout.periodicity">1D</cq-clickable>
</span>
<cq-menu-dropdown>
<cq-menu-container cq-name="menuPeriodicity"></cq-menu-container>
</cq-menu-dropdown>
</cq-menu>
Methods
-
setContext(context)
-
Obtains the name of the menu and the items contained in the menu. Adds the default markup.
Parameters:
Name Type Description context
CIQ.UI.Context The chart user interface context.
- Since:
-
7.5.0