mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
web animation updates
This commit is contained in:
@@ -150,7 +150,9 @@ export class ViewController {
|
||||
leavingItem.state = ACTIVELY_LEAVING_STATE;
|
||||
|
||||
// start the transition
|
||||
transAnimation.play().then(() => {
|
||||
console.log('transition play')
|
||||
transAnimation.play(true).then(() => {
|
||||
console.log('transition finished')
|
||||
|
||||
// transition has completed, update each item's state
|
||||
enteringItem.state = ACTIVE_STATE;
|
||||
|
||||
Reference in New Issue
Block a user