提交 d607040f 编写于 作者: L liuchao

add gesture animation description

Signed-off-by: Nliuchao <liuchao92@huawei.com>
Change-Id: Idbd2318f9805b7081c885fd53fbb9fef71489b44
上级 f7c8cde6
......@@ -79,14 +79,17 @@ var controller = {
windowAnimationManager.setController(controller)
var finishedCallback = null;
windowAnimationManager.minimizeWindowWithAnimation(target, (err, data) => {
if (err.code) {
console.error('Failed to minimize the window target. Cause: ' + JSON.stringify(err));
return;
}
data.onAnimationFinish();
finishedCallback = data;
});
finishedCallback.onAnimationFinish();
```
## windowAnimationManager.minimizeWindowWithAnimation
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册