class RouteTo extends Object
Type-Safe AngularJS Route
- Annotations
- @RawJSType() @ScalaJSDefined()
- Alphabetic
- By Inheritance
- RouteTo
- Object
- Any
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val caseInsensitiveMatch: UndefOr[Boolean]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- val controller: UndefOr[String]
- val controllerAs: UndefOr[String]
- val controllerFn: UndefOr[Function]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hasOwnProperty(v: String): Boolean
- Definition Classes
- Object
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
isPrototypeOf(v: Object): Boolean
- Definition Classes
- Object
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
propertyIsEnumerable(v: String): Boolean
- Definition Classes
- Object
- val redirectTo: UndefOr[String]
- val redirectToFn: UndefOr[Function]
- val reloadOnSearch: UndefOr[Boolean]
- val resolve: UndefOr[Dictionary[_ <: Any]]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val template: UndefOr[String]
- val templateFn: UndefOr[Function]
- val templateUrl: UndefOr[String]
- val templateUrlFn: UndefOr[Function]
-
def
toLocaleString(): String
- Definition Classes
- Object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
valueOf(): Any
- Definition Classes
- Object
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )