Constructor
new Template(template)
- Source:
- Since:
- 1.6.0
- Copyright:
- schukai GmbH
Parameters:
Name | Type | Description |
---|---|---|
template |
HTMLTemplateElement |
Throws:
-
-
value is not an instance of
- Type
- TypeError
-
-
-
value is not a function
- Type
- TypeError
-
-
-
the function is not defined
- Type
- Error
-
Methods
createDocumentFragment() → {DocumentFragment}
- Source:
Throws:
-
value is not an instance of
- Type
- TypeError
Returns:
- Type
- DocumentFragment
getTemplateElement() → {HTMLTemplateElement}
- Source:
Returns:
- Type
- HTMLTemplateElement