-
Notifications
You must be signed in to change notification settings - Fork 4
Menu
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.
Name | Type | Req |
---|---|---|
color | Color |
Example #1 : a simple menu with 3 static <ITEM/>'s
<MENU color="transparent">
<ITEM title="Edit" subtitle="Menu" icon="build" url="assets/templates/examples/menu-example1.xml"/>
<ITEM title="Settings" subtitle="Menu" icon="settings" url="assets/templates/examples/menu-example1.xml"/>
<ITEM title="Google" subtitle="Link" icon="insert_link" url="https://google.com"/>
</MENU>
Example #2 : a dynamic menu tied to a data source and a prototype <ITEM/>
<TESTDATA id="db1" rows="50"/>
<MENU color="red" data="db1">
<ITEM title="{data.first} {data.last}" subtitle="Click to View" icon="person" url="http://fml.dev?person={data.first}{data.last}"/>
</MENU>
Framework Markup Language is an open source programming language created by AppDaddy Software Solutions Inc. FML and is licensed under a fair source license agreement and is maintained by a community of developers.
- Quick Start
- Widget Structure
- Layout Basics
- Config
- Navigation
- Authentication
- Server Configuration
- Offline Use
- Resource Guides
-
<FML/>
- <BOX/>
- <CHART/>
- <COLUMN/>
- <DRAWER/>
- <FOOTER/>
- <FORM/>
- <GRID/>
- <HEADER/>
- <LIST/>
- <MAP/>
- <WINDOW/>
- <PAGER/>
- <ROW/>
- <SCROLLER/>
- <SPLITVIEW/>
- <STACK/>
- <TABLE/>
- <TABVIEW/>
- <TREEVIEW/>
- <WEBVIEW/>