You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"The target references the YText element that receives the update". It is not a YText but a YMap.
keys :List[YMapEventKeyChange]: it is not a List but a Dict.
delta :List[Dict]: there is not delta attribute.
path(self) → List[Union[int, str]]: it seems to always return an empty list. Also I don't understand the description: "Array of keys and indexes creating a path from root type down to current instance of shared type (accessible via target getter)".
Also, how can we access the YMapEvent object? y_py.YMapEvent doesn't exist.
The text was updated successfully, but these errors were encountered:
Fixes#55
- All events have a string representation
- Removed extraneous `delta` prop in `YMapEvent`
- Fixed `YMapEvent` typo that said YText
- Improved `YMapEvent` types and documentation.
@davidbrochart the path attribute only shows up when you are fielding an event inside an observe_deep() callback. It will show the path from the root to that element. I updated the docs to reflect this. Thanks for bringing that up.
The documentation says:
keys :List[YMapEventKeyChange]
: it is not aList
but aDict
.delta :List[Dict]
: there is notdelta
attribute.path(self) → List[Union[int, str]]
: it seems to always return an empty list. Also I don't understand the description: "Array of keys and indexes creating a path from root type down to current instance of shared type (accessible via target getter)".Also, how can we access the
YMapEvent
object?y_py.YMapEvent
doesn't exist.The text was updated successfully, but these errors were encountered: