UrlMatcherFactory | @uirouter/core
Options
Menu

Class UrlMatcherFactory

Factory for UrlMatcher instances.

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

Hierarchy

  • UrlMatcherFactory

Index

Constructors

Properties

paramFactory: ParamFactory = new ParamFactory(this.router)

Methods

  • caseInsensitive(value?: boolean): boolean
  • Parameters

    • value: Optional  boolean

    Returns boolean


  • Creates a UrlMatcher for the specified pattern.

    Parameters

    Returns UrlMatcher

    :

    The UrlMatcher.


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

    • value: Optional  boolean | string

    Returns string | false | true


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

  • 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(value?: boolean): boolean
  • Parameters

    • value: Optional  boolean

    Returns boolean


Generated using TypeDoc