ember-named-arguments-polyfill

1.0.0 • Public • Published

ember-named-arguments-polyfill

Polyfills the named arguments feature to work for Ember 2.10+. This is convienient for addon authors to be able to start leveraging named arguments without requiring that all of its users are on Ember 3.1 or higher.

Build Status

Installation

ember install ember-named-arguments-polyfill

Usage

"Just use them!"

In a component's template that receives an argument named foo you can now do:

{{@foo}}

🎉

Contributing

Installation

  • git clone <repository-url>
  • cd ember-named-arguments-polyfill
  • yarn install

Linting

  • yarn lint:js
  • yarn lint:js --fix

Running tests

  • ember test – Runs the test suite on the current Ember version
  • ember test --server – Runs the test suite in "watch mode"
  • ember try:each – Runs the test suite against multiple Ember versions

Running the dummy application

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

License

This project is licensed under the MIT License.

Readme

Keywords

Package Sidebar

Install

npm i ember-named-arguments-polyfill

Weekly Downloads

5,757

Version

1.0.0

License

MIT

Unpacked Size

6.5 kB

Total Files

10

Last publish

Collaborators

  • mmun
  • simonihmig
  • pzuraq
  • rwjblue