Options
All
  • Public
  • Public/Protected
  • All
Menu

Class StateHookConfig<T>

Represent a configuration for a state hook

Type parameters

  • T

Hierarchy

  • StateHookConfig

Index

Properties

Properties

handler

handler: HookHandler<T>

The hook called for the specified state in the specified hookType.

Must return a truly value (like true or Promise) in order to make the transition proceed, or false | Promise otherwise.

hookType

hookType: StateHookType

The hook type that represent when this handler for the given state will be called

Generated using TypeDoc