2024-11-27
This commit is contained in:
@@ -16,5 +16,8 @@ div {
|
||||
|
||||
## 트랜지션 완료 이벤트
|
||||
```javascript
|
||||
element.addEventListener('transitionend', function(propertyName, elapsedTime){}, true);
|
||||
element.addEventListener('transitionend', function(event){
|
||||
console.log(event.propertyName);
|
||||
console.log(event.elapsedTime);
|
||||
}, true);
|
||||
```
|
||||
Reference in New Issue
Block a user