• Preparing search index...
  • The search index is not available
vim-web
  • vim-web
  • React
  • ReactUtils
  • useArgActionRef

Function useArgActionRef

  • useArgActionRef<T>(action: (arg: T) => void): ArgActionRef<T>
  • Custom hook to create an argument-based action reference.

    Type Parameters

    • T

    Parameters

    • action: (arg: T) => void

      The initial action function that accepts an argument.

    Returns ArgActionRef<T>

    An object implementing ArgActionRef.

    • Defined in src/vim-web/react-viewers/helpers/reactUtils.ts:296

Settings

Member Visibility
vim-web
  • Loading...

Generated using TypeDoc