Skip to content

API ContextMenuItem

fahimc edited this page Mar 23, 2013 · 2 revisions

Extends Label

##Constructor ContextMenuItem(label, callback||null) provide a string as the label and if you want a callback then pass it into the second argument.
##Methods separatorBefore - set this to true if you want to add a separator before this item.
separatorAfter - set this to true if you want to add a separator after this item.

Clone this wiki locally