ludo.menu.Button


new ludo.menu.Button(config, renderTo, alwaysVisible, region, menu)

Menu button arrow which you can apply to DOM Element to have a menu drop down
below it.

Parameters:
Name Type Description
config object
renderTo string | HTMLElement

Render menu button to this DOM node

alwaysVisible boolean

Button always visible. When false, it will be visible when mouse enters

region string

Position button in this region. Valid values : 'nw','ne','sw' and 'se'

menu object

View configuration for menu, example { layout:{}, children:[ { "item 1", "item 2" ]}
@

Source: