# Dropdown

# Demo

<dropdown label="Dropdown" id="menu">
  <li>
    <a href>Action</a>
  </li>
  <li>
    <a href>Another action</a>
  </li>
</dropdown>

# Props

id

Type
String

Description
The id attribute of the button
label

Type
String

Description
Button label
button-class

Type
String

Default
btn btn-default

Description
The class/classes of the button element
button-element

Type
String

Default
a

Description
Customise the button element
container-class

Type
String

Description
The class/classes of the container element
menu-class

Type
String

Description
The class/classes of the menu element
menu-element

Type
String

Default
ul

Description
Customise the menu element
horizontal-position

Type
String

Default
left

Description
Horizontal position of the dropdown (left or right)
vertical-position

Type
String

Default
bottom

Description
Vertical position of the dropdown (bottom or top)
manual

Type
Boolean

Default
false

Description
In manual mode the dropdown can be opened using the open, close or toggle methods