Menu demo

Description
This page displays a menubar component with sub elements.
Every sub level is declared through the submenu component.


In Action



TML Source code

		
	<ex:menubar t:id="menubar">
		<ex:menuitem>
			Menu 1
			<ex:submenu>
				<ex:menuitem label="literal:Sub Menu 1"/>
				<ex:menuitem label="literal:Sub Menu 2"/>
				<ex:menuitem label="literal:Sub Menu 3">
					<ex:submenu>
						<ex:menuitem label="literal:Sub Menu 31"/>
					</ex:submenu>
				</ex:menuitem>
			</ex:submenu>
		</ex:menuitem>
		<ex:menuitem>
			Menu 2
		</ex:menuitem>	
		<ex:menuitem>
			Menu 3
		</ex:menuitem>
	</ex:menubar>