JavaScript

A5.ButtonListappendButtons Method

Syntax

A5.ButtonList.appendButtons(buttons)

Arguments

buttonsarray

An array of object containing the text, icon(s), state and value of each button to append to the button list. See A5.ButtonList for details on the contents of the objects.

Description

Append buttons to the button list.

Example

// assume "colorsBtnList" is an A5.ButtonList
colorsBtnList.appendButtons([{html: 'Purple', value: 'purple'},{html: 'Yellow', value: 'yellow'}]);