slot

slot 전역 특성은 요소에 섀도우 DOM 섀도우 트리를 할당합니다. slot 특성을 지정한 요소는 name 특성의 값이 요소의 slot 값과 일치하는 <slot> 요소에 할당됩니다.

예제는 템플릿과 슬롯 사용하기 (en-US) 안내서에서 확인할 수 있습니다.

명세

Specification
HTML Standard
# attr-slot
DOM Standard
# ref-for-dom-element-slot①

브라우저 호환성

BCD tables only load in the browser

같이 보기