Class Route
publicExtends: | EmberObject |
---|---|
Uses: | Evented , | ActionHandler
Defined in: | packages/@ember/-internals/routing/lib/system/route.ts:81 |
Module: | @ember/routing |
Since: | v1.0.0 |
import Route from '@ember/routing/route';
The Route
class is used to define individual routes. Refer to the routing guide for documentation.
Methods
- activate
- addObserver
- afterModel
- beforeModel
- buildRouteInfoMetadata
- cacheFor
- controllerFor
- deactivate
- decrementProperty
- destroy
- disconnectOutlet
- get
- getProperties
- has
- incrementProperty
- init
- intermediateTransitionTo
- model
- modelFor
- notifyPropertyChange
- off
- on
- one
- paramsFor
- redirect
- refresh
- removeObserver
- render
- renderTemplate
- replaceWith
- resetController
- send
- serialize
- set
- setProperties
- setupController
- toString
- toggleProperty
- transitionTo
- trigger
- willDestroy
Properties
- concatenatedProperties
- controller
- controllerName
- fullRouteName
- isDestroyed
- isDestroying
- mergedProperties
- queryParams
- routeName
- templateName
Events
© 2020 Yehuda Katz, Tom Dale and Ember.js contributors
Licensed under the MIT License.
https://api.emberjs.com/ember/3.25/classes/Route