This pull request addresses issue #112 . Adding events when the flip or unflip start, could be an interesting feature in the case that we don't fully control the HTML markup. Therefore, we could control the content of the back and front sides before we flip them.
Besides the flip:start event, two more events were added: unflip:start and unflip:done.
The function flipDone was refactored to accept a list of events that fire after the flip is done.
This pull request addresses issue #112 . Adding events when the flip or unflip start, could be an interesting feature in the case that we don't fully control the HTML markup. Therefore, we could control the content of the back and front sides before we flip them.
Besides the flip:start event, two more events were added: unflip:start and unflip:done.
The function flipDone was refactored to accept a list of events that fire after the flip is done.