Floating Action Button (FAB) speed dial component.
Requires the PhiaSpeedDial JavaScript hook registered in app.js.
Provides two components:
speed_dial/1— fixed FAB container with directional expansionspeed_dial_item/1— individual action button with label tooltip
Summary
Functions
Attributes
id(:string) (required)class(:string) - Defaults tonil.position(:atom) - Defaults to:bottom_right. Must be one of:bottom_right,:bottom_left,:top_right, or:top_left.direction(:atom) - Defaults to:up. Must be one of:up,:down,:left, or:right.- Global attributes are accepted.
Slots
inner_block(required)trigger- Custom FAB trigger button — defaults to + icon if not provided.
Attributes
label(:string) (required)on_click(:string) - Defaults tonil.href(:string) - Defaults tonil.disabled(:boolean) - Defaults tofalse.class(:string) - Defaults tonil.- Global attributes are accepted.
Slots
icon(required)