• Preparing search index...
  • The search index is not available
Houston Common Library
  • Houston Common Library
  • @45drives/houston-common-ui
  • confirmBeforeAction

Function confirmBeforeAction

  • confirmBeforeAction<TArgs extends any[], TOk, TErr extends Error>(options: ConfirmOptions, action: Action<TArgs, TOk, TErr>): ((...args: TArgs) => ResultAsync<TOk, TErr | CancelledByUser>)
  • Type Parameters

    • TArgs extends any[]
    • TOk
    • TErr extends Error

    Parameters

    • options: ConfirmOptions
    • action: Action<TArgs, TOk, TErr>

    Returns ((...args: TArgs) => ResultAsync<TOk, TErr | CancelledByUser>)

      • (...args: TArgs): ResultAsync<TOk, TErr | CancelledByUser>
      • Parameters

        • Rest ...args: TArgs

        Returns ResultAsync<TOk, TErr | CancelledByUser>

    • Defined in houston-common-ui/dist/index.d.ts:291

Settings

Member Visibility

Theme

Official Cockpit API Documentation
Houston Common Library
  • Loading...

Generated using TypeDoc