-
Notifications
You must be signed in to change notification settings - Fork 4
Timer
Jeff Olajos edited this page Oct 1, 2024
·
12 revisions
<TIMER/> : Widget
The <TIMER/> widget is used to fire a set of events after an elapsed period of time.
| Name | Type | Default | Description | Req |
|---|---|---|---|---|
| enabled | boolean | true | Enables / Disables the timer | false |
| action | string | null | A string of events that will execute AFTER the timer has elapsed. | true |
| frequency | integer | null | Specifies the time in milliseconds between timer action. Can alos be expressed in seconds by appending s onto the value (10s) | true |
| Name | Type | Description |
|---|---|---|
| start() | Starts the timer using <id>.start() | |
| stop() | Stops the timer, cancelling it, using <id>.stop() | |
| restart() | Restarts the timer, using <id>.restart() |
VAR used to hold a selection state and a calculated value
<FML>
<TIMER id="t1" action="toast('welcome')" frequency="5s"/>
</FML>
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/>
Important Concepts