HTMLButtonElement: thuộc tính popoverTargetElement
Baseline
2024
Newly available
Since April 2024, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
Thuộc tính popoverTargetElement của giao diện HTMLButtonElement lấy và đặt phần tử popover được điều khiển qua nút. Đây là bản tương đương JavaScript của thuộc tính HTML popovertarget.
Giá trị
Tham chiếu đến một phần tử popover.
Đặc tả kỹ thuật
| Specification |
|---|
| HTML> # dom-popovertargetelement> |