FABModel

Interface for the FAB class.

Properties

content String

Specifies the content of the Button.

Default: ""

cssClass String

Specifies CSS classes to customize the appearance of the control.

Default: ""

disabled Boolean

Specifies whether to enable or disable the control.

Default: false

enableHtmlSanitizer Boolean

Specifies whether to allow the rendering of untrusted HTML and JavaScript values withing the control. When true, any untrusted strings or scripts will be remote before rendering.

Default: true

enableRtl Boolean

Specifies whether to render the control in right to left direction.

Default: false

enableState Boolean

Specifies whether to persist the state of the control between page loads.

No properties are saved to state at this time.

Default: false

iconCss String

Specifies the CSS classes to include with the control icon.

Default: ""

iconPosition String IconPosition

Specifies the position of the icon within the Button.

Default: Left

isPrimary Boolean

Specifies whether the Button should apply the primary style.

Default: false

isPrimary Boolean

Specifies whether the Button will apply state changes when clicked. When true, the button state will toggle from active to inactive.

Default: false

locale String

Specifies the culture and localization value for this control, overriding the globally defined value.

Default: en-US

position String FabPosition

Specifies the position of the floating action button within the target element.

Default: BottomRight

target String HTMLElement

Specifies the selector for the element that will contain the floating action button. The target element must have a relative position. If not, the button will be positioned based on the closest element with a relative position. By default, the button is positioned based on the browser’s viewport.

Default: ""

visible Boolean

Specifies whether the floating action button should be visible or not.

Default: true