Re: [css3-transitions] 'transitionstart' and 'transitioncancel' events

On Wed, May 14, 2014 at 2:33 PM, Daniel Trebbien <dtrebbien@gmail.com>wrote:

> Aside from framework-level operations, there is also the possibility of
> unintentional misuse of the API, such as calling the "scrollToPage()"
> method two or more times in the same timer, specifying different pages for
> each call.  For example, if `scrollToPage(3, callback1)' were called, and
> then `scrollToPage(8, callback2)' in the same thread of execution, then the
> transition for the `scrollToPage(3, callback1)' call would not start, and
> only the transition for the `scrollToPage(3, callback1)' call would run
> (assuming nothing else cancels it).
>

Correction:  Only the transition for the `scrollToPage(8, callback2)' call
would run (assuming nothing else cancels it).

Received on Sunday, 18 May 2014 16:28:32 UTC