HTMLTemplateElement
Baseline Widely available *
This feature is well established and works across many devices and browser versions. It’s been available across browsers since November 2015.
* Some parts of this feature may have varying levels of support.
HTMLTemplateElement
인터페이스는 HTML <template>
엘리먼트의 컨텐츠에 접근할 수 있게 해줍니다.
must be a string
프로퍼티
이 인터페이스는 HTMLElement
의 프로퍼티를 상속받습니다.
HTMLTemplateElement.content
읽기 전용-
DocumentFragment
:<template>
엘리먼트의 템플릿 컨텐츠를 반환합니다.
메소드
이 인터페이스는 HTMLElement
의 메소드를 상속받습니다.
명세
Specification |
---|
HTML # htmltemplateelement |
브라우저 호환성
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
HTMLTemplateElement | ||||||||||||
content | ||||||||||||
shadowRootClonable | ||||||||||||
shadowRootDelegatesFocus | ||||||||||||
shadowRootMode | ||||||||||||
shadowRootSerializable |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No 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.