AnimationEvent: thuộc tính pseudoElement
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2020.
Thuộc tính chỉ đọc AnimationEvent.pseudoElement là một chuỗi, bắt đầu bằng '::', chứa tên của pseudo-element mà hoạt ảnh chạy trên đó.
Nếu hoạt ảnh không chạy trên pseudo-element mà chạy trên chính phần tử, giá trị sẽ là một chuỗi rỗng: ''.
Giá trị
Một chuỗi, bắt đầu bằng '::', chứa tên của pseudo-element mà hoạt ảnh chạy trên đó.
Thông số kỹ thuật
| Specification |
|---|
| CSS Animations Level 1> # dom-animationevent-pseudoelement> |
Tương thích trình duyệt
Xem thêm
- Dùng CSS animations
- Các thuộc tính và at-rule CSS liên quan đến hoạt ảnh:
animation,animation-delay,animation-direction,animation-duration,animation-fill-mode,animation-iteration-count,animation-name,animation-play-state,animation-timing-function,@keyframes. - Giao diện
AnimationEventmà nó thuộc về.