Accelerating Increment / Decrement Buttons

This example demonstrates a few different concepts:

  • Tricky time-based operations like acceleration are simplified by the sequential style of task functions
  • You can use taskName.perform in place of anywhere you might want to use a classic Ember action.
Live Example

Num: 0

(Hold down the buttons to accelerate.)

JavaScript (task)
Template
Template (button component)