Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "hooks/useKeyboardInput"

Index

Functions

Functions

useKeyboardInput

  • useKeyboardInput<T>(listener: (e: KeyboardEvent) => void, deps?: DependencyList, ref?: React.RefObject<T>): void
  • Type parameters

    • T: HTMLElement

    Parameters

    • listener: (e: KeyboardEvent) => void
        • (e: KeyboardEvent): void
        • Parameters

          • e: KeyboardEvent

          Returns void

    • Default value deps: DependencyList = []
    • Optional ref: React.RefObject<T>

    Returns void

Generated using TypeDoc