Class

io.scalajs.npm.angularjs.uirouter

RouteTo

Related Doc: package uirouter

Permalink

class RouteTo extends Object

Type-Safe AngularJS Route

Annotations
@RawJSType() @ScalaJSDefined()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RouteTo
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RouteTo(controller: UndefOr[String] = js.undefined, controllerFn: UndefOr[Function] = js.undefined, controllerAs: UndefOr[String] = js.undefined, template: UndefOr[String] = js.undefined, templateFn: UndefOr[Function] = js.undefined, templateUrl: UndefOr[String] = js.undefined, templateUrlFn: UndefOr[Function] = js.undefined, resolve: UndefOr[Dictionary[_ <: Any]] = js.undefined, redirectTo: UndefOr[String] = js.undefined, redirectToFn: UndefOr[Function] = js.undefined, reloadOnSearch: UndefOr[Boolean] = js.undefined, caseInsensitiveMatch: UndefOr[Boolean] = js.undefined)

    Permalink

    controller

    Controller function that should be associated with newly created scope or the name of a registered controller if passed as a string (string or function).

    controllerAs

    An identifier name for a reference to the controller. If present, the controller will be published to scope under the controllerAs name.

    template

    HTML template as a string or a function that returns an HTML template as a string which should be used by ngView or ngInclude directives. This property takes precedence over templateUrl (string or function).

    templateUrl

    Path or function that returns a path to an HTML template that should be used by ngView.

    resolve

    An optional map of dependencies which should be injected into the controller. If any of these dependencies are promises, the router will wait for them all to be resolved or one to be rejected before the controller is instantiated. If all the promises are resolved successfully, the values of the resolved promises are injected and $routeChangeSuccess event is fired.

    redirectTo

    Value to update $location path with and trigger route redirection (string or function).

    reloadOnSearch

    Reload route when only $location.search() or $location.hash() changes.

    caseInsensitiveMatch

    Match routes without being case sensitive. If the option is set to true, then the particular route can be matched without being case sensitive.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val caseInsensitiveMatch: UndefOr[Boolean]

    Permalink

    Match routes without being case sensitive.

    Match routes without being case sensitive. If the option is set to true, then the particular route can be matched without being case sensitive.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val controller: UndefOr[String]

    Permalink

    Controller function that should be associated with newly created scope or the name of a registered controller if passed as a string (string or function).

  8. val controllerAs: UndefOr[String]

    Permalink

    An identifier name for a reference to the controller.

    An identifier name for a reference to the controller. If present, the controller will be published to scope under the controllerAs name.

  9. val controllerFn: UndefOr[Function]

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  22. val redirectTo: UndefOr[String]

    Permalink

    Value to update $location path with and trigger route redirection (string or function).

  23. val redirectToFn: UndefOr[Function]

    Permalink
  24. val reloadOnSearch: UndefOr[Boolean]

    Permalink

    Reload route when only $location.search() or $location.hash() changes.

  25. val resolve: UndefOr[Dictionary[_ <: Any]]

    Permalink

    An optional map of dependencies which should be injected into the controller.

    An optional map of dependencies which should be injected into the controller. If any of these dependencies are promises, the router will wait for them all to be resolved or one to be rejected before the controller is instantiated. If all the promises are resolved successfully, the values of the resolved promises are injected and $routeChangeSuccess event is fired.

  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. val template: UndefOr[String]

    Permalink

    HTML template as a string or a function that returns an HTML template as a string which should be used by ngView or ngInclude directives.

    HTML template as a string or a function that returns an HTML template as a string which should be used by ngView or ngInclude directives. This property takes precedence over templateUrl (string or function).

  28. val templateFn: UndefOr[Function]

    Permalink
  29. val templateUrl: UndefOr[String]

    Permalink

    Path or function that returns a path to an HTML template that should be used by ngView.

  30. val templateUrlFn: UndefOr[Function]

    Permalink
  31. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  32. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  33. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped