Skip to main content

createHotkeysScope

还没翻译译自英文(tanstack.com)本页 8 段都还没译

function createHotkeysScope(defaultOptions?): AlpineHotkeys;

Defined in: createHotkeysScope.ts:18

Owns Alpine effects and Store subscriptions, with optional shared defaults. Call destroy from x-data's destroy hook.

Parameters

defaultOptions?

MaybeGetter<DefaultHotkeysOptions> = {}

Returns

AlpineHotkeys