lx-dropdown
is a directive that create a dropdown menu.
lx-dropdown-toggle
that transclude the toggle button and lx-dropdown-menu
that transclude the menu content.
Parameter | Type | Default | Description |
---|---|---|---|
lx-escape-close | boolean |
true |
Specify if the dropdown should be closed with escape key. |
lx-over-toggle | boolean |
false |
Specify if the dropdown should be opened over the toggle button. |
lx-position | string |
left |
Define the dropdown menu position. Options: left , right |
lx-width | string |
Define the dropdown menu width in pixels. If a percent value is defined, the dropdown menu width will be relative to the width of the toggle button. |