Hotkey
FreeComposant invisible qui exécute un rappel pour un raccourci clavier comme alt+k ou mod+shift+l (mod est Ctrl sous Windows et Cmd sous macOS). Les raccourcis sont ignorés pendant la saisie dans un champ, sauf si AllowInInputs est défini.
Exemple

Paramètres
| Paramètre | Type | Description |
|---|---|---|
AllowInInputs | bool | Réagit aussi pendant qu'un champ de texte a le focus (false par défaut). |
Keys | string | Raccourci comme alt+k ou mod+shift+l. mod est Ctrl ou Cmd. |
PreventDefault | bool | Arrête l'action propre du navigateur pour le raccourci (true par défaut). |
Événements
| Événement | Type | Description |
|---|---|---|
OnPressed | EventCallback | Déclenché quand le raccourci est actionné. |
Paquet
Hotkey fait partie de RayCraft Free. Paquet : RayCraft.Blazor. Il provient de nuget.org. Voir Premiers pas.
Envoyer un retourVersion 1.0.3