UrlMatcherFactory | @uirouter/react
Options
All
  • Public
  • Public/Protected
  • All
Menu

Factory for UrlMatcher instances.

The factory is available to ng1 services as $urlMatcherFactory or ng1 providers as $urlMatcherFactoryProvider.

Hierarchy

  • UrlMatcherFactory

Index

Constructors

constructor

Properties

Param

Param: typeof Param = Param

UrlMatcher

UrlMatcher: typeof UrlMatcher = UrlMatcher

paramFactory

paramFactory: ParamFactory = new ParamFactory(this.router)

Creates a new Param for a given location (DefType)

Methods

caseInsensitive

  • caseInsensitive(value?: boolean): boolean

compile

defaultSquashPolicy

  • defaultSquashPolicy(value?: boolean | string): string | false | true

isMatcher

  • isMatcher(object: any): boolean
  • Returns true if the specified object is a UrlMatcher, or false otherwise.

    Parameters

    • object: any

      The object to perform the type check against.

    Returns boolean

    true if the object matches the UrlMatcher interface, by implementing all the same methods.

strictMode

  • strictMode(value?: boolean): boolean

type

Generated using TypeDoc