Event fired when text is inserted into a string.
gapi.drive.realtime►
gapi.drive.realtime.TextInsertedEvent
| Summary | ||
|---|---|---|
| Event fired when text is inserted into a string. | ||
| Whether this event bubbles. | ||
| Whether this event originated in the local session. | ||
| The ID of the session that initiated the event. | ||
| The user ID of the user that initiated the event. | ||
| Event type. | ||
| The index of the change. | ||
| The inserted text. | ||
Constructor
TextInsertedEvent(serialized)
Event fired when text is inserted into a string.
- Extends:
gapi.drive.realtime.BaseModelEvent
- Parameters:
- Object serialized — The 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.
index -> number
The index of the change.
text -> string
The inserted text.