Skip to content
Hotkeys API Reference

hotkeysPlugin

ts
function hotkeysPlugin(alpine): void;

Defined in: hotkeysPlugin.ts:11

Installs $hotkeys, whose registrations and subscriptions belong to its element. Every hotkeys scope, including ones from createHotkeysScope, uses the Alpine instance passed here.

Parameters

alpine

Alpine

Returns

void