• Home
  • Try it
  • Download
  • Documentation
  • Enterprise
  • Develop
  • Forum
Welcome Guest! Login or Register
Version: 4.0b3 Headerimage

Get your own copy

Don't hesitate! Just download and test it all by yourself for free!

  • You are here:
  • TinyMCE API 3.x
  • tinymce
  • tinymce.ui
  • tinymce.ui.NativeListBox
  • add
  • History
  • New wiki page

add

  • Print
public function add(n:String, v:String, o:Object):void
Adds a option item to the list box.

Params

Name Type Description
n String Title for the new option.
v String Value for the new option.
o Object Optional object with settings like for example class.
  • TinyMCE
  • TinyMCE API 4.x
  • TinyMCE 3.x
  • TinyMCE API 3.x
    • tinymce
      • tinymce.dom
      • tinymce.html
      • tinymce.plugins
      • tinymce.ui
        • tinymce.ui.Button
        • tinymce.ui.ColorSplitButton
        • tinymce.ui.Container
        • tinymce.ui.Control
        • tinymce.ui.DropMenu
        • tinymce.ui.KeyboardNavigation
        • tinymce.ui.ListBox
        • tinymce.ui.Menu
        • tinymce.ui.MenuButton
        • tinymce.ui.MenuItem
        • tinymce.ui.NativeListBox
          • items
          • onAdd
          • onChange
          • onPostRender
          • onRenderMenu
          • NativeListBox
          • add
          • destroy
          • getLength
          • hideMenu
          • isActive
          • isDisabled
          • isRendered
          • postRender
          • remove
          • renderHTML
          • renderMenu
          • renderTo
          • select
          • selectByIndex
          • setActive
          • setDisabled
          • setState
          • showMenu
        • tinymce.ui.Separator
        • tinymce.ui.SplitButton
        • tinymce.ui.Toolbar
        • tinymce.ui.ToolbarGroup
      • tinymce.util
      • tinymce.AddOnManager
      • tinymce.ControlManager
      • tinymce.Editor
      • tinymce.EditorCommands
      • tinymce.Formatter
      • tinymce.Plugin
      • tinymce.Theme
      • tinymce.UndoManager
      • tinymce.WindowManager
      • DOM
      • EditorManager
    • tinymce
    • tinyMCEPopup
    • tinyMCE
  • MCImageManager
  • MCFileManager

Search

Search documentation.

Search

Need support?

If you need support, premium support is provided by our partners.

ask question
Back to site top

Provided for developers anywhere, everywhere, anytime and with any content.

  • Try it
  • Download
  • Documentation
  • Enterprise
  • Develop
  • Forum
Moxiecode

© 2003-2013 Moxiecode Systems AB.
All rights Reserved.
By being on this site, you allow cookies to be used.

Powered by Cachefly