ListBox.addItem

Syntax

addItem(value);

Parameters

value. Object set as a list item. It can be text, HTML layout, Dom node or visual component - delegate of PP.Ui.Control.

Description

The addItem method adds a new item to list.

Example

The example of method use is given on the Example of Creating the ListBox Component page.

See also:

ListBox