Packages

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)

    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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val caseInsensitiveMatch: UndefOr[Boolean]
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val controller: UndefOr[String]
  8. val controllerAs: UndefOr[String]
  9. val controllerFn: UndefOr[Function]
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  14. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. final def notify(): Unit
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  21. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  22. val redirectTo: UndefOr[String]
  23. val redirectToFn: UndefOr[Function]
  24. val reloadOnSearch: UndefOr[Boolean]
  25. val resolve: UndefOr[Dictionary[_ <: Any]]
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. val template: UndefOr[String]
  28. val templateFn: UndefOr[Function]
  29. val templateUrl: UndefOr[String]
  30. val templateUrlFn: UndefOr[Function]
  31. def toLocaleString(): String
    Definition Classes
    Object
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. def valueOf(): Any
    Definition Classes
    Object
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped