Constructor
# new Assembler(fragment)
Allows you to build an html fragment
Parameters:
Name | Type | Description |
---|---|---|
fragment |
DocumentFragment |
- Since:
- 1.6.0
- Copyright:
- schukai GmbH
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(data) → {DocumentFragment}
Parameters:
Name | Type | Description |
---|---|---|
data |
ProxyObserver | undefined |
Throws:
-
value is not an instance of
- Type
- TypeError
Returns:
- Type
- DocumentFragment
# getAttributePrefix() → {string}
Returns:
- Type
- string
# setAttributePrefix(prefix) → {Assembler}
Parameters:
Name | Type | Description |
---|---|---|
prefix |
string |
Throws:
-
value is not a string
- Type
- TypeError
Returns:
- Type
- Assembler