TinyMCE:API/tinymce.ControlManager/createListBox
From Moxiecode Documentation Wiki
Contents |
[edit]
Method: createListBox
[edit]
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.
[edit]
Syntax
<tinymce.ui.Control> createListBox(<String> id, <Object> s)
[edit]
Parameters
- id
- Unique id for the new listbox instance. For example "styles".
- s
- Optional settings object for the control.
[edit]
Returns
Control instance that got created and added.
