new YXmlHook(hookName)
Parameters:
| Name | Type | Description |
|---|---|---|
hookName |
string | nodeName of the Dom Node. |
Extends
- YMap.<any>
Members
-
hookName :string
-
Methods
-
toDom(_documentopt, hooksopt, bindingopt) → {Element}
-
Creates a Dom Element that mirrors this YXmlElement.
Parameters:
Name Type Attributes Default Description _documentDocument <optional>
document The document object (you must define this when calling this method in nodejs)
hooksObject.<string, any> <optional>
Optional property to customize how hooks are presented in the DOM
bindingany <optional>
You should not set this property. This is used if DomBinding wants to create a association to the created DOM type