Class MMMenuItem
Object
|
+--MMMenuItem
- class
MMMenuItem
Defined in MultimapOpenAPI
|
Constructor Summary |
MMMenuItem
( <String> label, <Function> onclick, <String> className, <integer> index, <String> title )
This class defines an object that can be added to an MMMenuWidget
to create new menu items.
|
MMMenuItem
MMMenuItem( <String> label, <Function> onclick, <String> className, <integer> index, <String> title )
This class defines an object that can be added to an MMMenuWidget
to create new menu items. A label and function reference must be passed
to create a working menu item. Leaving out the function reference can be
used to create a "disabled" item.
Parameters:
label - The label to display in the context menu.
onclick - (optional) A function reference to call when the item is clicked on.
className - (optional) An optional class name, for restyling individual items.
index - (optional) An optional index number for ordering items.
title - (optional) An optional title that will appear in a "tool tip" above the item.
Documentation generated by
JSDoc on Tue Feb 26 16:25:19 2008