SVGAnimationElement: thuộc tính targetElement
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since January 2020.
Thuộc tính chỉ đọc targetElement của giao diện SVGAnimationElement tham chiếu đến phần tử đang được tạo hoạt hình. Nếu không có phần tử đích nào đang được tạo hoạt hình (ví dụ: vì thuộc tính href chỉ định một phần tử không xác định), giá trị trả về là null.
Giá trị
Một đối tượng SVGElement.
Thông số kỹ thuật
| Specification |
|---|
| SVG Animations Level 2> # __svg__SVGAnimationElement__targetElement> |