Trace | ui-router-ng2
Options
Menu

Class Trace

Prints UI-Router Transition trace information to the console.

Hierarchy

  • Trace

Index

Methods

  • Disables a trace Category

    trace.disable("VIEWCONFIG");
    

    Parameters

    • ...categories: Rest  Category[]
      :

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

    Returns void


  • Enables a trace Category

    trace.enable("TRANSITION");
    

    Parameters

    • ...categories: Rest  Category[]
      :

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

    Returns void


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

  • 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

Generated using TypeDoc