Skip to main content

createHotkeysScope

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

function createHotkeysScope(defaultOptions?): EmberHotkeysScope;

Defined in: packages/ember-hotkeys/src/createHotkeysScope.ts:29

Creates contextual helpers, modifiers, and recorders with shared, optionally reactive defaults. Pass the scope to child components through arguments to share configuration.

Parameters

defaultOptions?

MaybeGetter<DefaultHotkeysOptions> = {}

Returns

EmberHotkeysScope