Pages
Ui.Dropdown
A dropdown component.
- On desktop it renders the given content around the given element
using
Ui.StickyPanel
- On mobile it renders teh given content in a modal
States
The width of the panel if matchWidth
is true.
Properties
Whether or not to trigger the close event when clicking outside of the panel.
The content to show in the dropdown.
The element which trigger the dropdown.
Whether or not to make the panel the same width as the element.
The offset from the side of the element.
The click event handler.
The close event handler.
Whether or not the dropdown is open.
The position of the panel.
The zIndex to use for the dropdown.
Functions
Renders the dropdown.
Updates the dimensions of the panel if matchWidth
is true.