Home Reference Source

Typedef

Static Public Summary
public

Elemet Box definition

public

Menu tree

Static Public

public BoxProperties: * source

Elemet Box definition

Properties:

NameTypeAttributeDescription
class string
  • optional

Container class name

grow number
  • optional

Flexbox grow value

shrink number
  • optional

Flexbox shrink value

basis number | string
  • optional

Flexbox basis value

align string
  • optional

Flexbox alignItems value

justify string
  • optional

Flexbox justifyContent value

padding number | string
  • optional

Margin

margin number | string
  • optional

Margin

key string
  • optional

Hyperapp element key

oncreate Function
  • optional

Hyperapp oncreate function

onupdate Function
  • optional

Hyperapp onupdate function

ondestroy Function
  • optional

Hyperapp ondestroy function

public MenuItems: * source

Menu tree

Properties:

NameTypeAttributeDescription
label String

Label

icon String
  • optional

Icon source

disabled Boolean
  • optional

Disabled state

closeable Boolean
  • optional

Disable close on click

element Function
  • optional

A callback that returns a virtual DOM element (ex. Hyperapp)

onclick Function

Click callback

items MenuItems
  • optional

Child items