Ui.Dropdown
A dropdown component, which renders the given content around the given element using the given position.
States
The width of the panel if matchWidth
is true.
Properties
Wether 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.
Wether or not to make the dropdown the same width as the element.
The offset from the side of the element.
The click event handler.
The close event handler.
Wether or not the dropdown is open.
The position of the panel.
The zIndex to use for the dropdown.
Functions
The close event handler.
Renders the dropdown.
Updates the dimensions of the panel if matchWidth
is true.