Class Route
publicExtends: | EmberObject |
---|---|
Uses: | Evented , | Ember.ActionHandler
Defined in: | packages/ember-routing/lib/system/route.js:65 |
Module: | @ember/routing |
Since: | v1.0.0 |
import Route from '@ember/routing/route';
The Ember.Route
class is used to define individual routes. Refer to the routing guide for documentation.
Methods
- activate
- addObserver
- afterModel
- beforeModel
- cacheFor
- controllerFor
- deactivate
- decrementProperty
- destroy
- disconnectOutlet
- get
- getProperties
- getWithDefault
- 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
- actions
- concatenatedProperties
- controller
- controllerName
- 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/2.18/classes/Route