Trace | @uirouter/core
Options
Menu

Class Trace

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
  • traceHookInvocation(step: TransitionHook, trans: Transition, options: any): void
  • traceUIViewEvent(event: string, viewData: ActiveUIView, extra?: string): void
  • traceUIViewFill(viewData: ActiveUIView, html: string): void
  • traceViewServiceEvent(event: string, viewConfig: ViewConfig): void
  • traceViewServiceUIViewEvent(event: string, viewData: ActiveUIView): void
  • traceViewSync(pairs: ViewTuple[]): void

Generated using TypeDoc