slot
전역 특성은 요소에 섀도우 DOM 섀도우 트리를 할당합니다. slot
특성을 지정한 요소는 name
특성의 값이 요소의 slot
값과 일치하는 <slot>
요소에 할당됩니다.
예제는 템플릿과 슬롯 사용하기 안내서에서 확인할 수 있습니다.
명세
Specification | Status | Comment |
---|---|---|
HTML Living Standard The definition of 'slot attribute' in that specification. |
Living Standard | |
DOM The definition of 'slot attribute' in that specification. |
Living Standard |
브라우저 호환성
BCD tables only load in the browser
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.
같이 보기
- 모든 전역 특성.