We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
function state( name: string, styles: AnimationStyleMetadata, options?: {params: {[name: string]: any}} ):AnimationStateMetadata;
当前状态的名字,可以有多个名字,用逗号隔开,如:'active,clicked'。 这个name还可以用 void和*表示: void代表动画执行前组件的状态; *代表动画执行后组件的状态,即组件的默认状态。
'active,clicked'
void
*
处于这个状态时的样式,如style({width: 0})
style({width: 0})
AnimationStateMetadata
The text was updated successfully, but these errors were encountered:
No branches or pull requests
state :定义目标处于某一状态时的样式
name
当前状态的名字,可以有多个名字,用逗号隔开,如:
'active,clicked'
。这个name还可以用
void
和*
表示:void
代表动画执行前组件的状态;*
代表动画执行后组件的状态,即组件的默认状态。styles :
处于这个状态时的样式,如
style({width: 0})
options : 见
AnimationStateMetadata
函数The text was updated successfully, but these errors were encountered: