Changes from V1:
onToggle with focusAndToggleiconButton and iconLink (use ClickableSvg instead)A togglable menu view and related buttons.
Whether the menu content sticks to the left or right side of the button
Determines how we deal with long titles. Should we make the menu expand in height to show the full title or truncate it instead?
entries: the entries of the menufocusAndToggle: the message produced to control the open/closed state and DOM focusalignment: where the menu popover should appear relative to the buttonisDisabled: whether the menu can be opennedmenuWidth : optionally fix the width of the popoverbuttonId: a unique string identifier for the button that opens/closes the menumenuId: a unique string identifier for the menuRepresents zero or more entries within the menu content
Menu/pulldown configuration:
entries: the entries of the menufocusAndToggle: the message produced to control the open/closed state and DOM focusalignment: where the menu popover should appear relative to the buttonisDisabled: whether the menu can be opennedmenuWidth: optionally fix the width of the popoverbuttonId: a unique string identifier for the button that opens/closes the menumenuId: a unique string identifier for the menuButton configuration:
icon: display a particular icon to the left of the titletitle: the text to display in the menu buttonwrapping: WrapAndExpandTitle | TruncateTitlehasBorder: whether the menu button has a borderbuttonWidth: optionally fix the width of the button to a number of pixels