Trace | UI-Router
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Trace

Prints UI-Router Transition trace information to the console.

Hierarchy

  • Trace

Index

Constructors

Properties

approximateDigests: number

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

  • 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
  • called by ui-router code

  • traceHookInvocation(step: TransitionHook, options: any): void
  • called by ui-router code

  • called by ui-router code

    Parameters

    • step: TransitionHook
    • options: any

    Returns void


  • traceHookResult(hookResult: HookResult, transitionResult: Promise<any>, transitionOptions: any): void
  • called by ui-router code

  • called by ui-router code

    Parameters

    • hookResult: HookResult
    • transitionResult: Promise<any>
    • transitionOptions: any

    Returns void


  • traceResolvableResolved(resolvable: Resolvable, trans?: Transition): void
  • called by ui-router code

  • traceSuccess(finalState: State, trans: Transition): void
  • called by ui-router code

  • traceTransitionIgnored(trans: Transition): void
  • called by ui-router code

  • traceTransitionStart(transition: Transition): void
  • called by ui-router code

  • traceUIViewConfigUpdated(viewData: ActiveUIView, context: ViewContext): void
  • called by ui-router code

  • traceUIViewEvent(event: string, viewData: ActiveUIView, extra?: string): void
  • called by ui-router code

  • called by ui-router code

    Parameters

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

    Returns void


  • traceUIViewFill(viewData: ActiveUIView, html: string): void
  • called by ui-router code

  • called by ui-router code

    Parameters

    • viewData: ActiveUIView
    • html: string

    Returns void


  • traceViewServiceEvent(event: string, viewConfig: ViewConfig): void
  • called by ui-router code

  • traceViewServiceUIViewEvent(event: string, viewData: ActiveUIView): void
  • called by ui-router code

  • called by ui-router code

    Parameters

    • event: string
    • viewData: ActiveUIView

    Returns void


Generated using TypeDoc