HTML DOM AnimationEvent
AnimationEvent 对象
CSS 动画运行时发生的事件属于 AnimationEvent 对象。
Animation事件属性和方法
属性/方法 | ဖော်ပြ |
---|---|
animationName | 返回动画的名称。 |
elapsedTime | 返回动画已运行的秒数。 |
pseudoElement | 返回动画的伪元素的名称。 |
သိမ်းပိုက်ထားသော အခွင့်အရေး နှင့် နည်းလမ်း
AnimationEvent အပုံစံ က AnimationEvent အပုံစံ မှ အရေးပါသော အခွင့်အရေး နှင့် နည်းလမ်း အားလုံး ကို သိမ်းပိုက်သည်。
အခမ်းအနား အမျိုးအစား
အခမ်းအနား အမျိုးအစား အားဖြင့် AnimationEvent အပုံစံ
အခမ်းအနား | ဖော်ပြ |
---|---|
animationend | CSS အသံအယူအယျင် ပြီးခဲ့သည်。 |
animationiteration | CSS အသံအယူအယျင် ပြောင်းလဲခြင်း ဖြစ်ပါသည်。 |
animationstart | CSS အသံအယူအယျင် စတင်ချိန် ဖြစ်ပါသည်。 |