SCEditor

createDropDown()

createDropDown(mItem, name, content) Since: 1.3.0

Creates a dropdown menu aligned to the to the menu item mItem.

Syntax

instance.createDropDown(mItem, name, content);

Parameters

mItem
Type: Node

The menu button to align the drop down to.

name
Type: String

The name to give the dropdown. Will add the class sceditor-name to the dropdown.

content
Type: Node

The HTML content of the dropdown.