API
Component

Animation ($UI/comp/animation/components/animation/animation)

使用范围:UI2

Contents

component Animation ($UI/comp/animation/components/animation/animation) extends BindComponent

<b>使用场景</b>:动画 ; <b>使用方法</b>:拖入设计器中,绑定操作元素,选择动画效果,指定执行动画操作;可以设定延迟时间、持续时间、循环次数(整数或true,缺省执行1次);

	
	

Constructor Top

  Animation ()
  Animation ( options)

Methods Top

void executeAnimation ()

Operations Top

executeAnimation ()

Events Top

void afterAnimation ()
void beforeAnimation ()

Constructor details Top

public Animation ()

<b>使用场景</b>:动画 ; <b>使用方法</b>:拖入设计器中,绑定操作元素,选择动画效果,指定执行动画操作;可以设定延迟时间、持续时间、循环次数(整数或true,缺省执行1次);

	
	

public Animation ( options)

构造函数

Inherited from ViewComponent

	
		参数options格式类似{parent:xx, config:{}},parent是组件的父节点,允许为空或不指定,config是组件的参数选项
	 

Parameters

options

参数选项

Methods Detail Top

public void executeAnimation ()

执行动画

Return Value

void

Operations Detail Top

public executeAnimation ()

执行动画

Events Detail Top

public void afterAnimation ()

动画执行后

Return Value

void

public void beforeAnimation ()

动画执行前

Return Value

void