HTML DOM 전환 이벤트
TransitionEvent 객체
CSS 전환이 실행될 때 발생하는 이벤트는 TransitionEvent 개체에 속합니다.
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 |
상속된 속성 및 메서드
TransitionEvent는 다음에서 모든 속성과 메서드를 상속합니다.
이벤트 유형
다음 이벤트 유형은 TransitionEvent 개체에 속합니다.
Event | Description |
---|---|
transitionend | The event occurs when a CSS transition has completed |