Typedef
Static Public Summary | ||
public |
Elemet Box definition |
|
public |
MenuItems: * Menu tree |
Static Public
public BoxProperties: * source
Elemet Box definition
Properties:
Name | Type | Attribute | Description |
class | string |
|
Container class name |
grow | number |
|
Flexbox grow value |
shrink | number |
|
Flexbox shrink value |
basis | number | string |
|
Flexbox basis value |
align | string |
|
Flexbox alignItems value |
justify | string |
|
Flexbox justifyContent value |
padding | number | string |
|
Margin |
margin | number | string |
|
Margin |
key | string |
|
Hyperapp element key |
oncreate | Function |
|
Hyperapp oncreate function |
onupdate | Function |
|
Hyperapp onupdate function |
ondestroy | Function |
|
Hyperapp ondestroy function |
public MenuItems: * source
Menu tree
Properties:
Name | Type | Attribute | Description |
label | String | Label |
|
icon | String |
|
Icon source |
disabled | Boolean |
|
Disabled state |
closeable | Boolean |
|
Disable close on click |
element | Function |
|
A callback that returns a virtual DOM element (ex. Hyperapp) |
onclick | Function | Click callback |
|
items | MenuItems |
|
Child items |