Trace | @uirouter/angularjs
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");
    
       Also takes strings (category name) or ordinal (category position)
    

    Parameters

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

      categories to disable. If categories is omitted, all categories are disabled.

    Returns any


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

  • Enables a trace Category

    trace.enable("TRANSITION");
    
       Also takes strings (category name) or ordinal (category position)
    

    Parameters

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

      categories to enable. If categories is omitted, all categories are enabled.

    Returns any


  • enabled(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

    • category string | number

    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: any[]): void

Generated using TypeDoc