@atomical/menu-burger
v0.0.2
Published
A simple adaptble menu burger
Downloads
1
Readme
@atomical/menu-burger
Representing a minimal configurable menu burger.
Installation
npm install --save @atomical/menu-burger
Usage
<atl-menu-burger></atl-menu-burger>
Properties
| name | type | default | description | | ---- | ---- | ------- | ----------- | | active-state | boolean | false | Determines if the menu is active (two-way) |
Events
| name | value | description | | ---- | ----- | ----------- | | active-state-changed | { value: boolean } | Gets fired after the active state changed |
Overwritable CSS-Variables
| name | default | | ------- | ------- | | --menu-burger-lines-color | black | | --menu-burger-transform-transition | 0.3s | | --menu-burger-color-transition | 0.3s | | --menu-burger-box-width | 30px | | --menu-burger-box-height | 20px | | --menu-burger-line-height | 1px |
License
Atomical is open-sourced software licensed under the MIT license.