https://github.com/adopted-ember-addons/ember-router-helpers
https://github.com/adopted-ember-addons/ember-router-helpers
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/adopted-ember-addons/ember-router-helpers
- Owner: adopted-ember-addons
- License: mit
- Created: 2017-06-28T00:32:15.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-20T16:06:35.000Z (over 2 years ago)
- Last Synced: 2025-04-18T00:11:31.138Z (6 months ago)
- Language: JavaScript
- Size: 1.78 MB
- Stars: 40
- Watchers: 9
- Forks: 15
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# ember-router-helpers
[](https://github.com/rwjblue/ember-router-helpers/actions?query=workflow%3A%22CI%22)
Compatibility
------------------------------------------------------------------------------* Ember.js v3.20 or above
* Ember CLI v3.20 or above
* ember-auto-import >= 2
* Node.js v12 or aboveInstallation
------------------------------------------------------------------------------```
ember install ember-router-helpers
```Usage
------------------------------------------------------------------------------* `route-params`
```hbs
{{#let (route-params "parent.child") as |routeParams|}}
Blah
{{/let}}
```* `transition-to`
```hbs
```
* `replace-with`
```hbs
```
* `is-active`
```hbs
{{is-active "parent.child"}}
```* `url-for`
```hbs
{{url-for "parent.child"}}
```