JavaScript

A5.ButtonListsetDisplay Method

Syntax

A5.ButtonList.setDisplay(value,display)

Arguments

valueany

The value of the button to set the display state of the button list.

displayboolean

The display state of the specified button in the button list.

Description

Set the display state of a button in the button list.

Example

// assume "colorsBtnList" is an A5.ButtonList
colorsBtnList.setDisplay('green',true); // "green" is no longer visible