-
Notifications
You must be signed in to change notification settings - Fork 4
TOOLTIP
Jeff Olajos edited this page Nov 8, 2024
·
21 revisions
<TOOLTIP/> : ViewableWidget
The <TOOLTIP/> (or <TIP/>) widget can be a direct child of any viewable widget. The <TOOLTIP/> can contain other widgets and is displayed based on the gesture attribute specified.
The tooltip widget is typically used to display information about the widget itself. It can be triggered by mouse hover, tap, longpress or manually using the Open() and Close() methods.
Name | Type | Default | Description | Req |
---|---|---|---|---|
color | string | The color of the tooltip background | ||
arrow | boolean | true | If the tooltip bubble should include the callout arrow | |
padding/pad | int | 10 | The padding between the tooltip background edges and the content | |
radius | int | 8 | The background corner rounding radius | |
position | string | rightCenter | The preferred position of the tooltip. Refer to Tooltip Positioning below. |
|
modal | boolean | false | If the tooltip should display as modal | |
timeout | int | The timeout in milliseconds before the tooltip automatically closes | ||
distance | int | 8 | The distance, in pixels, the tooltip callout is positioned from the target widget | |
gesture | string | hover | The preferred method of opening/closing the tooltip. |
|
cursor | string | click |
|
Name | Description |
---|---|
open() | Opens the tooltip. |
close() | Closes the tooltip. |
Example #1 : a simple <ICON/> tooltip.
<ICON icon="mood" color="yellow">
<TOOLTIP id="tip" pad="15" position="leftend" distance="20">
<COLUMN expand="false">
<ICON icon="close" color="yellow"/>
<TEXT value="hello world" size="18"/>
</COLUMN>
</TOOLTIP>
</ICON>
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/>