new YXmlHook(hookName)
Parameters:
| Name | Type | Description |
|---|---|---|
hookName |
string | nodeName of the Dom Node. |
Extends
- YMap.<any>
Classes
Members
-
hookName :string
-
Methods
-
_copy()
-
Creates an Item with the same effect as this Item (without position effect)
-
_write(encoder)
-
Transform the properties of this type to binary and write it to an BinaryEncoder.
This is called when this Item is sent to a remote peer.
Parameters:
Name Type Description encoderAbstractUpdateEncoder The encoder to write data to.
-
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