The canvas Timer allow interval timed events for animations and other uses.
Simply set the timerInterval property to a value in milliseconds, such as 100, to enable the timed events. Setting to 0 will disable it.
Write code for the event:
!this.imageRot={ [this.imageRot] + 1} // rotate 1 degree every event trigger
|