-
Notifications
You must be signed in to change notification settings - Fork 4
GESTURE
Jeff Olajos edited this page Nov 7, 2024
·
16 revisions
<GESTURE/> : Widget
The <GESTURE/> widget creates a interactive gesture wrapper one or more child widgets. Mouse and touch gestures trigger the corresponding event. For simple onclick gestures, consider using <BUTTON/> or <LINK/>.
| Name | Type | Default | Description | Req |
|---|---|---|---|---|
| enabled | bool | true | Whether or not you can interact with the gesture. | |
| cursor | string | click |
|
| Name | Description |
|---|---|
| onclick | Triggers on click/tap |
| onrightclick | Triggers on right click |
| onlongpress | Triggers on long press |
| ondoubletap | Triggers on double click/tap |
| onswipeleft | Triggers on swiping left |
| onswiperight | Triggers on swiping right |
| onswipeup | Triggers on swiping up |
| onswipedown | Triggers when swiping down |
| onmouseover | Triggers on mouse over |
| onmouseout | Triggers on mouse out |
<FML>
<CENTER>
<GESTURE onswipeleft="toast('Swiped Left');" onswiperight="toast('Swiped Right');" onswipeup="toast('Swiped Up');" onswipedown="toast('Swiped Down');" >
<BOX height="300" width="300" center="true" color="amber" layout="column">
<ICON icon="swipe" size="190" />
<TEXT size="64">
Swipe
</TEXT>
</BOX>
</GESTURE>
</CENTER>
</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