Skip to content
Jeff Olajos edited this page Nov 8, 2024 · 42 revisions

<MENU/> : <BOX/>

The <MENU/> widget is used for naviagtion between pages. Menu's are made up of one more menu <ITEM/>'s. Menus can be static or dyanmic. Dynamic menu's define a single prototype <ITEM/> and a data source.

Each <ITEM/> created in the menu has its own unique scope. This allows widgets within the each <ITEM/> to have similar id's to widgets defined in other <ITEM/>'s.

Attributes

Name Type Req
color Color

Examples

Menu w/ Hardcoded Items

<FML>
    <!-- Image Background -->
    <!-- <IMAGE url="/resources/images/menu-bg.png" height="100%"/> -->
    <MENU color="transparent">
        <ITEM title="Edit" subtitle="Menu" icon="build" url="main.xml"/>
        <ITEM title="Settings" subtitle="Menu" icon="settings" url="main.xml"/>
        <ITEM title="Google" subtitle="Link" icon="insert_link" url="https://google.com"/>
    </MENU> 
</FML>

logo See it in Action

Other Documentation You May Find Useful

Clone this wiki locally