An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# ember-router-helpers

[![CI Build](https://github.com/rwjblue/ember-router-helpers/workflows/CI/badge.svg)](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 above

Installation
------------------------------------------------------------------------------

```
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"}}
```