FloatingActionButton Speed Dial
The FloatingActionButton can display a speed dial, which is a stack of related actions that opens when users click the button. Pass the actions as a collection of DialItem objects to the dialItems input. The popup that holds the actions appears only when the collection contains at least one item.
The following demo shows a speed dial with text-only items, labeled icons, and icon-only items.
Animation
Animation is enabled by default. Set dialItemAnimation to false to disable it, or pass a DialItemAnimation object to configure it.
Set duration to control each item's animation time and gap to control the delay between item animations. The defaults are 180 milliseconds for duration and 90 milliseconds for gap.
The following demo lets you toggle animation and adjust its duration and gap.
Overlay
Render an element with the k-overlay class over the content and below the FloatingActionButton. Use the open and close events to show and hide the overlay.
The following demo toggles the overlay as the dial opens and closes.