An add-on that provides runloop related helpers.
npm install ember-runloop-helpersember-runloop-helpers
==============================================================================
An add-on that provides runloop related helpers.
Installation
------------------------------------------------------------------------------
```
ember install ember-runloop-helpers
Usage
------------------------------------------------------------------------------
There are two helpers with the same usage: runloop/debounce, runloop/throttle
` hbs`{{foo}}
This will debounce (action (mut foo)) with a wait of 1000 miliseconds. If an element is destroyed while waiting for execution, it will automatically cancel the timer.
``
{{runloop/debounce
{{runloop/throttle
Contributing
------------------------------------------------------------------------------
* git clone https://github.com/ember-sapporo/ember-runloop-helpers.gitcd ember-runloop-helpers
* yarn install
*
* yarn lint:jsyarn lint:js --fix
*
* ember test – Runs the test suite on the current Ember versionember test --server
* – Runs the test suite in "watch mode"yarn test
* – Runs ember try:each to test your addon against multiple Ember versions
* ember serve`
* Visit the dummy application at http://localhost:4200.
For more information on using ember-cli, visit https://ember-cli.com/.
License
------------------------------------------------------------------------------
This project is licensed under the MIT License.