Tooltip
You can use the Tooltip UI Pattern to dynamically display informative text when a user hovers over, clicks, or taps an on-screen element.
How to use the Tooltip UI Pattern
-
In Service Studio, in the Toolbox, search for
Tooltip
.The Tooltip widget is displayed.
-
To From the Toolbox, drag the Tooltip widget into the Main Content area of your application's screen.
By default, the Tooltip widget contains Content and Tooltip placeholders.
-
Add your content to the placeholders.
In this example, we add a Save button to the Content placeholder and enter the tooltip text 'Save your details' in the Tooltip placeholder.
-
On the Properties tab, from the Position dropdown, select where you want the tooltip to appear. In this example we se the tooltip to appear on top of the Save button. You can also change the look and feel of the Tooltip by setting the (optional) properties.
After following these steps and publishing the module, you can test the pattern in your app.
Properties
Properties | Description |
---|---|
Position ( Position Identifier): Mandatory | Set the tooltip's position. The predefined options are:
Examples
|
IsVisible (Boolean): Optional | If True, the tooltip is visible when the page is first loaded (without the need for the initial trigger). If False, the tooltip is not visible. This is the default. |
IsHover (Boolean): Optional | If True, the tooltip is triggered by hovering over the element. If False, the tooltip is not triggered by hovering over the element. This is the default. |
ExtendedClass (Text): Optional | Add custom style classes to the Tooltip UI Pattern. You define your custom style classes in your application using CSS. Examples
|