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!"
    }
}

Last updated