tuil
ReferencePackages@mwillbanks/tuil-hotkeysAPI

Hotkey

function exported by @mwillbanks/tuil-hotkeys.

View rawEdit

function

Public function exported by @mwillbanks/tuil-hotkeys.

export function Hotkey(
  props: Omit<HotkeyBinding, "handler"> & {
    readonly onTrigger: HotkeyBinding["handler"];
  },
): null;

Members

This declaration has no public members.

Parameters

MemberTypeRequiredDescriptionRelated types
propsOmit<HotkeyBinding, "handler"> & &#123; readonly onTrigger: HotkeyBinding["handler"]; &#125;YesSupplies the props value as Omit<HotkeyBinding, "handler"> & &#123; readonly onTrigger: HotkeyBinding["handler"]; &#125;.HotkeyBinding

Returns

null — Returns a value that satisfies null.

Related types: —

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-hotkeys

On this page