|
|
|
|
|
Constants for managing drop-down menus
Display only constants used by prefix syntaxesThe following constants are used to manipulate Context menus: | | | Constant | Description | Used by the functions |
---|
menuInsertEnd | Adds the cloned element at the end of the menu. | MenuClone | menuInsertBeforeSeparator | Inserts the cloned element before the next separator. | MenuClone | menuPopupBottomCenteredMenu | Opens the popup below the menu and centers it on the entire width of the menu (two popups of identical size and opened by two different options are displayed at the same location). | MenuAddPopup | menuPopupBottomRight | Opens the popup below the menu option and aligns it on the right side of the menu option (the popup id displayed to the left). | MenuAddPopup | menuPopupBottomLeft | Opens the popup below the menu option and aligns it on the left side of the menu option. | MenuAddPopup | menuPopupTopRight | Opens the popup on the right of the menu option and aligns it on the top side of the menu option (this constant is mainly used with the vertical menus). | MenuAddPopup | menuPopupTopLeft | Opens the popup on the left of the menu option and aligns it on the top side of the menu option (this constant is mainly used with the vertical menus). | MenuAddPopup |
The following constants are used to manipulate Context menus (prefix syntax): | | | Constant | Description | Used by the functions |
---|
menuInsertEnd | Adds the cloned element at the end of the menu. | <Menu>.Clone | menuInsertBeforeSeparator | Inserts the cloned element before the next separator. | <Menu>.Clone | menuPopupBottomCenteredMenu | Opens the popup below the menu and centers it on the entire width of the menu (two popups of identical size and opened by two different options are displayed at the same location). | <Menu>.AddPopup | menuPopupBottomRight | Opens the popup below the menu option and aligns it on the right side of the menu option (the popup id displayed to the left). | <Menu>.AddPopup | menuPopupBottomLeft | Opens the popup below the menu option and aligns it on the left side of the menu option. | <Menu>.AddPopup | menuPopupTopRight | Opens the popup on the right of the menu option and aligns it on the top side of the menu option (this constant is mainly used with the vertical menus). | <Menu>.AddPopup | menuPopupTopLeft | Opens the popup on the left of the menu option and aligns it on the top side of the menu option (this constant is mainly used with the vertical menus). | <Menu>.AddPopup |
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|