1.0.0 • Published 1 year ago

ember-router-helpers v1.0.0

Weekly downloads
5,863
License
MIT
Repository
github
Last release
1 year ago

ember-router-helpers

CI Build

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
{{#let (route-params "parent.child") as |routeParams|}}
  <a href={{routeParams.url}} class={{if routeParams.isActive "active" "inactive"}}>Blah</a>
{{/let}}
  • transition-to
<button {{on "click" (transition-to "parent.child")}}></button>
  • replace-with
<button onclick={{replace-with "parent.child"}}></button>
  • is-active
{{is-active "parent.child"}}
  • url-for
{{url-for "parent.child"}}
1.0.0

1 year ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

6 years ago

0.1.1

7 years ago

0.1.0

7 years ago