@zebra-fed/zeta-web
    Preparing search index...

    Class ZetaFab

    Floating action buttons are used for a promoted action.

    Hierarchy

    • FlavoredInterface<this> & LitElement<this> & BaseButton<this>
      • ZetaFab
    Index

    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 round(): boolean | "full"

      The border radius of the button. Used in place of rounded prop.

      Returns boolean | "full"

    • set round(value: boolean | "full"): void

      Parameters

      • value: boolean | "full"

      Returns void

    • 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>