Trace | @uirouter/core
Options
Menu

Prints UI-Router Transition trace information to the console.

Hierarchy

  • Trace

Index

Methods

  • disable(...categories: (string | number)[]): any
  • Disables a trace Category

  • Disables a trace Category

    trace.disable("VIEWCONFIG");

    Parameters

    • ...categories: Rest  (string | number)[]
      :

      categories to disable. If categories is omitted, all categories are disabled. Also takes strings (category name) or ordinal (category position)

    Returns any


  • enable(...categories: (string | number)[]): any
  • Enables a trace Category

  • Enables a trace Category

    trace.enable("TRANSITION");

    Parameters

    • ...categories: Rest  (string | number)[]
      :

      categories to enable. If categories is omitted, all categories are enabled. Also takes strings (category name) or ordinal (category position)

    Returns any


  • enabled(category: Category | string | number): boolean
  • Retrieves the enabled stateus of a Category

  • Retrieves the enabled stateus of a Category

    trace.enabled("VIEWCONFIG"); // true or false

    Parameters

    Returns boolean

    :

    boolean true if the category is enabled


  • traceError(reason: any, trans: Transition): void
  • Parameters

    Returns void


  • traceHookInvocation(step: TransitionHook, trans: Transition, options: any): void
  • Parameters

    • step TransitionHook
    • trans Transition
    • options any

    Returns void


  • Parameters

    Returns void


  • Parameters

    Returns void


  • Parameters

    Returns void


  • Parameters

    Returns void


  • Parameters

    Returns void


  • traceUIViewEvent(event: string, viewData: ActiveUIView, extra?: string): void
  • Parameters

    • event string
    • viewData ActiveUIView
    • extra: Default value  string = ""

    Returns void


  • traceUIViewFill(viewData: ActiveUIView, html: string): void
  • Parameters

    Returns void


  • traceViewServiceEvent(event: string, viewConfig: ViewConfig): void
  • Parameters

    Returns void


  • traceViewServiceUIViewEvent(event: string, viewData: ActiveUIView): void
  • Parameters

    Returns void


  • traceViewSync(pairs: ViewTuple[]): void
  • Parameters

    • pairs ViewTuple[]

    Returns void


Generated using TypeDoc