This simple addon provides a task-button
component. It renders a button
and is intended to be used with an ember-concurrency
task. The only
feature is to provide feedback to the user during the execution of a task.
During the execution of the task (task.isRunning
returns true
) the
button will present the content of the runningText
attribute or the
inverse block, and will get a class added (running
by default).
Or with block
git clone <repository-url>
this repositorycd ember-task-button
npm install
bower install
ember serve
- Visit your app at http://localhost:4200.
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
ember build
For more information on using ember-cli, visit https://ember-cli.com/.