JavaScript
A5.ButtonListpopulate Method
Syntax
A5.ButtonList.populate(buttons)
Arguments
- buttonsarray
An array of object containing the text, icon(s), state and value of each button in the button list. See A5.ButtonList for details on the contents of the objects.
Description
Populate the button list.
Example
// assume "colorsBtnList" is an A5.ButtonList colorsBtnList.populate([{html: 'Purple', value: 'purple'},{html: 'Yellow', value: 'yellow'}]);