slot
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.
slot
전역 특성은 요소에 섀도우 DOM 섀도우 트리를 할당합니다. slot
특성을 지정한 요소는 name
특성의 값이 요소의 slot
값과 일치하는 <slot>
요소에 할당됩니다.
예제는 템플릿과 슬롯 사용하기 안내서에서 확인할 수 있습니다.
명세
Specification |
---|
HTML # attr-slot |
DOM # ref-for-dom-element-slot① |
브라우저 호환성
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
slot |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
같이 보기
- 모든 전역 특성.