1.0.0 • Published 3 years ago
@ks-web-components/ks-context-menu v1.0.0
ks-context-menu
Component for manage floating menu with options and axis positioning.
Usage
npm install @ks-web-components/ks-context-menuLive Example
Attributes
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
| open | open | boolean | false | Control for open the menu |
| x | x | number | 0 | X position on the screen |
| y | y | number | 0 | Y position on the screen |
| options | options | ContextMenuOption[] | [] | Options to display on the menu |
Events
| Name | type | Description |
|---|---|---|
| onClick | Event | When click on an option |