Floating action buttons are used for a promoted action.

Hierarchy

  • BaseButton
    • ZetaFab

Other

_round: boolean | "full" = "full"
disabled: boolean
extended: boolean = false

Whether or not the FAB is extended.

flavor: FabFlavor = "primary"
internals: ElementInternals
label: string = ""

The label display on or below the button.

name?: string

Name for the button, used if the button is in a form.

rounded: boolean = false
size: "small" | "large" = "small"
type?: "reset" | "submit" | "button"

The type of the button when used in a form

value?: string

The value of the name property When submitted as part of a form

formAssociated: boolean = true
shadowRootOptions: ShadowRootInit = ...
  • get styles(): (CSSResult | CSSResultGroup[])[]
  • Returns (CSSResult | CSSResultGroup[])[]

rendering

  • Invoked on each update to perform rendering tasks. This method may return any value renderable by lit-html's ChildPart - typically a TemplateResult. Setting properties inside this method will not trigger the element to update.

    Returns TemplateResult<1>