FML - AppDaddy-Software-Solutions-Inc/framework-markup-language GitHub Wiki

FML : BOX

The <FML/> widget, or commonly referred to as a "template", is the top level (outermost) widget of every markup page. The <FML/> widget wraps one or more other child widgets.

Attributes

Name Type Default Description Req
layout string "stack" Default layout (Override)
title string In web, the browsers tabbar title is set to this value
version string The template version number
linkable boolean single page application ? false : true Allows user to navigate directly to the page via its url otherwise the home page is displayed
rights int If rights are specified (non-null), the current user must be "connected" and have "rights" greater than or equal to this value in order to view the page. If not connected, the LOGIN_PAGE specified in the config.xml file is launched. See authentication for details.
orientation string (landscape, portrait, all) "all" The permitted device orientation. Applies to mobile devices only

Properties

Name Type Description
index int The position of the page in the stack where "0" is the top level page (active page), page "1" is below page "0", page "2" is below page "1", ...

Events

Name Description
onstart Triggers the event string when the template is first opened
onreturn Triggers the event string when the template is returned back to

Examples

<FML title="Home Portal" version="1.0" onstart="toast('Successfully Connected');" center="true">
        <TEXT>Home Portal</TEXT>
</FML>

Other Widgets You May Find Useful:

⚠️ **GitHub.com Fallback** ⚠️