@opentui/keymap/html

Every export of @opentui/keymap/html in the 0.6.0 release, from its type declarations. A version names the release that added an export after the module's first release.

Functions#

function createDefaultHtmlKeymap(root: HTMLElement): Keymap<HTMLElement, HtmlKeymapEvent>
Hosts
function createHtmlKeymap(root: HTMLElement): Keymap<HTMLElement, HtmlKeymapEvent>
Hosts
function createHtmlKeymapEvent(event?: KeyboardEvent | HtmlKeyboardEventLike): HtmlKeymapEvent
Hosts
function createHtmlKeymapHost(root: HTMLElement): KeymapHost<HTMLElement, HtmlKeymapEvent>
Hosts
function normalizeHtmlKeyName(key: string): string
Hosts

Interfaces#

interface HtmlKeymapEvent extends KeymapEvent
Hosts
  • readonly property HtmlKeymapEvent.originalEvent?: KeyboardEvent

Constants and variables#

const htmlEventMatchResolver: EventMatchResolver<HtmlKeymapEvent>
Hosts