Trace | @uirouter/core
Options
All
  • Public
  • Public/Protected
  • All
Menu

Prints UI-Router Transition trace information to the console.

Hierarchy

  • Trace

Index

Methods

disable

  • disable(...categories: (string | number)[]): any
  • Disables a trace Category

    trace.disable("VIEWCONFIG");

    Parameters

    • Rest ...categories: (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

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

    trace.enable("TRANSITION");

    Parameters

    • Rest ...categories: (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

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

    trace.enabled("VIEWCONFIG"); // true or false

    Parameters

    Returns boolean

    boolean true if the category is enabled

Generated using TypeDoc