TinyMCE:API/tinymce.ControlManager/createListBox

From Moxiecode Documentation Wiki

Jump to: navigation, search

Contents

Method: createListBox

Summary

Creates a list box control instance by id. A list box is either a native select element or a DOM/JS based list box control. This depends on the use_native_selects settings state.

Syntax

<tinymce.ui.Control> createListBox(<String> id, <Object> s)

Parameters

id
Unique id for the new listbox instance. For example "styles".
s
Optional settings object for the control.

Returns

Control instance that got created and added.

Personal tools