Floating Action Button

Universal Dashboard is now a part of PowerShell Universal. This documentation is for reference to the v2 version of Universal Dashboard and is no longer maintained. PowerShell Universal Documentation can be found here.

Floating Action Button

Creating a floating action button

See Event Handler Endpoints for more information about how event handlers work.

A floating action button will appear in the bottom right and can expand to multiple actions on hover.

New-UDFab -ButtonColor 'orange' -Icon bathtub -Size Large -onClick {
Show-UDToast -Message "Take a bath!"
} -Content {
New-UDFabButton -ButtonColor 'blue' -Icon fax -onClick {
Show-UDToast -Message "Send a fax!"
}
}