Skip to content

jaichandra/ember-route-action-with-polyfill

 
 

Repository files navigation

ember-route-action-with-polyfill

Do you want to do this?

{{some-link click=(transition-to "test" 'arg-to-route')}}

Then this addon is for you. This is a very simple addon that gives you access to a helper (transition-to).

Requirements

This addon uses below polyfill addon for getOwner and is compatible with ember 1.10.1 and above.

If you have ember 2.3+, the you can use https://github.com/peec/ember-route-action instead.

Polyfill for getOwner:

https://github.com/rwjblue/ember-getowner-polyfill

Installation

  • git clone this repository
  • npm install
  • bower install

Running

Running Tests

  • npm test (Runs ember try:testall to test your addon against multiple Ember versions)
  • ember test
  • ember test --server

Building

  • ember build

For more information on using ember-cli, visit http://www.ember-cli.com/.

About

Ember addon. Allows to use transitionTo as a action.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 69.6%
  • HTML 30.4%