jQuery/JS Common - Object Structures - globalConfig - floatingActionButtonConfig
Configures a Floating Action Button (FAB) that emits a stack of related actions (speed dial).
If you change this object at runtime, call the DevExpress.ui.repaintFloatingActionButton() method afterwards to apply the changes.
icon
This option accepts one of the following:
- The icon's URL
- The icon's name if the icon is from the DevExtreme icon library
- The icon's CSS class if the icon is from an external icon library (see External Icon Libraries)
- The icon in the Base64 format
- The icon in the SVG format. Ensure that the source is reliable.
position
This option accepts one of the following:
Position configuration object
An object that specifies the widget's position.String
A shortcut listed in the accepted values. Positions the widget relative to the window.Function
A function that returns one of the above. Use it to position the widget based on a condition.
Use the PositionAlignment
enum to specify this option when the widget is used as an ASP.NET MVC 5 Control or a DevExtreme-Based ASP.NET Core Control. This enum accepts the following values: Bottom
, Center
, Left
, LeftBottom
, LeftTop
, RightBottom
, RightTop
, and Top
.