sequence
함수
사용 중단 권고v20.2부터
Defines a list of animation steps to be run sequentially, one by one.
사용 중단을 권고합니다.
API
function sequence(
steps: AnimationMetadata[],
options?: AnimationOptions | null,
): AnimationSequenceMetadata;@paramoptions
AnimationOptions | nullAn options object containing a delay and developer-defined parameters that provide styling defaults and can be overridden on invocation.
@returns
AnimationSequenceMetadata사용 시 참고사항
When you pass an array of steps to a
transition() call, the steps run sequentially by default.
Compare this to the group() call, which runs animation steps in
parallel.
When a sequence is used within a group() or a transition() call,
execution continues to the next instruction only after each of the inner animation
steps have completed.
상세 내용으로 이동