HTMLTemplateElement - Web APIs | MDN
Instance properties
This interface inherits the properties of HTMLElement.
contentRead only-
A read-only
DocumentFragmentwhich contains the DOM subtree representing the<template>element's template contents. shadowRootMode-
A string that reflects the value of the
shadowrootmodeattribute of the associated<template>element. shadowRootDelegatesFocus-
A boolean that reflects the value of the
shadowrootdelegatesfocusattribute of the associated<template>element. shadowRootClonable-
A boolean that reflects the value of the
shadowrootclonableattribute of the associated<template>element. shadowRootSerializable-
A boolean that reflects the value of the
shadowrootserializableattribute of the associated<template>element.
Instance methods
This interface inherits the methods of HTMLElement.
Specifications
| Specification |
|---|
| HTML # htmltemplateelement |