new YEvent(target)
Parameters:
| Name | Type | Description |
|---|---|---|
target |
Type | The changed type. |
Members
-
currentTarget :Type
-
The current target on which the observe callback is called.
-
path
-
Computes the path from
yto the changed type.The following property holds:
Example
let type = y event.path.forEach(dir => { type = type.get(dir) }) type === event.target // => true -
target :Type
-
The type on which this event was created on.