Documentation
¶
Overview ¶
Package template provides constructors and methods for the HTML <template> element.
The <template> HTML element is a mechanism for holding HTML that is not to be rendered immediately when a page is loaded but may be instantiated subsequently during runtime using JavaScript.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TagOpen = []byte("<template") TagClose = []byte("</template>") AttrShadowRootMode = []byte(" shadowrootmode=\"") AttrShadowRootClonable = []byte(" shadowrootclonable") AttrShadowRootDelegatesFocus = []byte(" shadowrootdelegatesfocus") AttrShadowRootSerializable = []byte(" shadowrootserializable") )
Byte constants for HTML rendering.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.