Protected
Internal
_buttonOptional
alignmentThe alignment of the droppable relative to the action menu. Defaults start if left undefined.
Optional
directionThe direction of the droppable relative to the anchor. Defaults to bottom if left undefined.
The icon to be displayed on the button
Protected
internalsArray of action items
Optional
leadingOptional
nameName for the button, used if the button is in a form.
Controls the state of the dropdown menu.
Optional
trailingOptional
typeThe type of the button when used in a form
Optional
valueThe value of the name property When submitted as part of a form
Static
formStatic
Internal
shadowStatic
stylesProtected
_handleProtected
renderInvoked on each update to perform rendering tasks. This method may return
any value renderable by lit-html's ChildPart
- typically a
TemplateResult
. Setting properties inside this method will not trigger
the element to update.
Protected
firstInvoked when the element is first updated. Implement to perform one time work on the element after update.
firstUpdated() {
this.renderRoot.getElementById('my-text-area').focus();
}
Setting properties inside this method will trigger the element to update again after this update cycle completes.
Zeta Action Menu Button places a button that when clicked opens an action menu containing the items passed into it through the items prop.
Figma
https://www.figma.com/file/JesXQFLaPJLc1BdBM4sisI/🦓-ZDS---Components?node-id=22391-10146
Storybook
https://zeta-ds.web.app/web/storybook/?path=/docs/dropdown--docs