HTML DOM TransitionEvent
❮ Sự kiện DOM ❮ Đối tượng sự kiện
Đối tượng TransitionEvent
Các sự kiện xảy ra khi quá trình chuyển đổi CSS chạy, thuộc về Đối tượng TransitionEvent.
Thuộc tính và phương thức TransitionEvent
Property/Method | Description |
---|---|
propertyName | Returns the name of the transition |
elapsedTime | Returns the number of seconds a transition has been running |
pseudoElement | Returns the name of the pseudo-element of the transition |
Thuộc tính và phương thức kế thừa
TransitionEvent kế thừa tất cả các thuộc tính và phương thức từ:
Các loại sự kiện
Các loại sự kiện này thuộc về Đối tượng TransitionEvent:
Event | Description |
---|---|
transitionend | The event occurs when a CSS transition has completed |
❮ Sự kiện DOM ❮ Đối tượng sự kiện