Revert "feat(animation): support animating width/height properties (WIP) (#4917)" (#5136)

This reverts commit 57ed0cf405.
This commit is contained in:
Svetoslav
2017-12-07 12:11:24 +02:00
committed by Vasil Chimev
parent 1615061591
commit 8973a6febd
25 changed files with 56 additions and 941 deletions

View File

@@ -1,12 +0,0 @@
import * as view from 'tns-core-modules/ui/core/view';
export function tapLabel(args) {
const clicked: view.View = args.object;
const graffiti = clicked as any;
clicked.animate({
height: graffiti.toggle ? 64 : 128,
duration: 200,
curve: 'easeOut'
});
graffiti.toggle = !graffiti.toggle;
}