Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private xPosition:number = 157;
- animations: [
- trigger('positionChanged', [
- state('lastPosition' , style({ right: this.xPosition })),
- state('newPosition', style({ right: this.xPosition + 10 })),
- transition('* => *', animate('.5s'))
- ])
- ]
Add Comment
Please, Sign In to add comment