Nighthawk

Dropdown

Preview

Demo code

Dropdown options

OptionTypeDefault valuePossible values
closeOnClickInsidebooleanfalsetrue/false
offsetstring0px0-[infinite]px

DropdownTrigger options

OptionTypeDefault valuePossible values
dropdownTriggerDropdownPanel-any component/template reference
directionenumendstart/center/end
dropdownOffsetnumber80-infinite
dropdownHideDelaynumber5000-infinite
dropdownOnHoverbooleanfalsetrue/false
dropdownCloseOnClickInsidebooleantruetrue/false
dropdownCloseOnRouteChangebooleantruetrue/false
dropdownPanelClassstring-any string
disabledbooleanfalsetrue/false

Dropdown outputs

EventTypeValue
closedvoidEmits when the dropdown is closed

Style Variables