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(error: any, trans: Transition): void
  • called by ui-router code

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

  • called by ui-router code

    Parameters

    • step: any
    • options: any

    Returns void


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

  • called by ui-router code

    Parameters

    • hookResult: any
    • transitionResult: any
    • transitionOptions: any

    Returns void


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

  • traceSuccess(finalState: any, 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: any): void
  • called by ui-router code

  • called by ui-router code

    Parameters

    • viewData: ActiveUIView
    • context: any

    Returns void


  • 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: any): void
  • called by ui-router code

  • called by ui-router code

    Parameters

    • viewData: ActiveUIView
    • html: any

    Returns void


  • traceUIViewScopeCreated(viewData: ActiveUIView, newScope: any): void
  • called by ui-router code

  • called by ui-router code

    Parameters

    • viewData: ActiveUIView
    • newScope: any

    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