Floating Actions
You can use the Floating Actions UI Pattern to display an action that floats in the bottom right corner of the screen, providing access to a set of additional actions.
Use the Floating Action UI Pattern to show the primary action on a screen. Choose actions such as create, share, explore and so on. Avoid actions such as delete, archive or an alert. Exclude limited actions such as cut-and-paste text or actions that should be in a toolbar.
How to use the Floating Actions UI Pattern
-
In Service Studio, in the Toolbox, search for
Floating Actions
.The Floating Actions widget is displayed.
-
From the Toolbox, drag the Floating Actions widget into the Main Content area of your application's screen.
After following these steps and publishing the module, you can test the pattern in your app.
Properties
Floating Actions
Property | Description |
---|---|
Trigger (Trigger Identifier): Optional | Set the type of trigger for the button. the predefined values are:
Examples
|
ExtendedClass (Text): Optional | Add custom style classes to the Floating Actions UI Pattern. You define your custom style classes in your application using CSS. Examples
|
Floating Actions Item
Property | Description |
---|---|
ExtendedClass (Text): Optional | Add custom style classes to the Floating Actions Item UI Pattern. You define your custom style classes in your application using CSS. Examples
|