Carregando...
TagriaLib Documentation v4
menu
AttributeRequiredTypeDescription
fixedfalsejava.lang.StringIt indicates whether the component should be fixed. Default none. Options : top,bottom
darkfalsejava.lang.BooleanIt indicates whether the menu should be dark theme. Default : false
lightfalsejava.lang.BooleanIt indicates whether the menu should be light theme. Default : true
cssClassfalsejava.lang.StringIt indicates a css class to the component
<html:view>
			<html:menu dark="true">
				<html:menuBrand label="my brand" url="/app/playground"></html:menuBrand>
				<html:menuCollapse attachToSelector="#block1" />
				<html:menuCollapsable id="block1">
					<html:menuDropdown label="Menu">
						<html:menuDropdownItem label="Item 1" url="#" />
						<html:menuDropdownDivider />
						<html:menuDropdownItem label="Item 2" target="_blank" url="#" />
						<html:menuDropdownItem icon="trash" label="Item 3" url="#" />
					</html:menuDropdown>
					<html:menuLink label="My link" url="#" />
				</html:menuCollapsable>
			</html:menu>
		</html:view>