Hide
Realtime API

Class gapi.drive.realtime.ValueChangedEvent

Event fired when a map or custom object property changes.

Namespacegapi.drive.realtimeClassgapi.drive.realtime.ValueChangedEvent

Summary
ClassValueChangedEvent Event fired when a map or custom object property changes.
Fieldbubbles Whether this event bubbles.
FieldisLocal Whether this event originated in the local session.
FieldsessionId The ID of the session that initiated the event.
FielduserId The user ID of the user that initiated the event.
Fieldtype Event type.
FieldnewValue The new property value.
FieldoldValue The old property value.
Fieldproperty The property whose value changed.

Constructor

ValueChangedEvent(serialized)

Event fired when a map or custom object property changes.

Extends:
Classgapi.drive.realtime.BaseModelEvent
Parameters:
Object serializedThe serialized event object.

Fields

bubbles -> boolean

Whether this event bubbles.

isLocal -> boolean

Whether this event originated in the local session.

sessionId -> string

The ID of the session that initiated the event.

userId -> string

The user ID of the user that initiated the event.

type -> string

Event type.

newValue -> *

The new property value.

oldValue -> *

The old property value.

property -> string

The property whose value changed.