Menuseparator
From Documentation
Menuseparator
- Demonstration: Menu
- Java API: Menuseparator
- JavaScript API: Menuseparator
- Style Guide: Menuseparator
Employment/Purpose
Used to create a separator between menu items..
Example
<menubar>
<menu label="File">
<menupopup>
<menuitem label="New" onClick="alert(self.label)"/>
<menuitem label="Open" onClick="alert(self.label)"/>
<menuitem label="Save" onClick="alert(self.label)"/>
<menuseparator/>
<menuitem label="Exit" onClick="alert(self.label)"/>
</menupopup>
</menu>
<menuseparator/>
<menuitem label="Home"/>
</menubar>
Supported Events
None | None |
- Inherited Supported Events: XulElement
Supported Children
*NONE
Use Cases
Version History
Version | Date | Content |
---|---|---|