Constructor
new RenderableJaw(jawId, jawDefinition)
Parameters:
| Name | Type | Description |
|---|---|---|
jawId |
string | - |
jawDefinition |
object | An object with method to assign to this class. This parameter is deprecated and will be removed. Still exisists for back-compatibility reason.
The jawDefinition parameter is deprecated and will be removed. Still exisists for back-compatibility reason. |
- Source:
Methods
addTemplate(name, content) → {object}
Add an HTML template to this RenderableJaw.
Parameters:
| Name | Type | Description |
|---|---|---|
name |
string | The name that will be used in container templates to print this template. If null or empty this will be the default template. There could be only one default template. Can be any string except "__default__" that is a reserved name. |
content |
string | The template HTML content. |
- Version:
- 1.0.0, 2020.09.08
- Source:
Returns:
The complete list of Templates.
- Type
- object
setTemplate(content) → {object}
Set the default HTML template to this RenderableJaw.
Parameters:
| Name | Type | Description |
|---|---|---|
content |
string | The template HTML content. |
- Version:
- 1.0.0, 2020.12.03
- Source:
Returns:
The complete list of Templates.
- Type
- object