1. 개발자를 위한 웹 기술
  2. Web API
  3. HTMLTemplateElement

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

HTMLTemplateElement

Baseline Widely available *

This feature is well established and works across many devices and browser versions. It’s been available across browsers since ⁨2015년 11월⁩.

* 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

브라우저 호환성

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.

AltStyle によって変換されたページ (->オリジナル) /