Hide
Realtime API

Class gapi.drive.realtime.TextInsertedEvent

Event fired when text is inserted into a string.

Namespacegapi.drive.realtimeClassgapi.drive.realtime.TextInsertedEvent

Summary
ClassTextInsertedEvent Event fired when text is inserted into a string.
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.
Fieldindex The index of the change.
Fieldtext The inserted text.

Constructor

TextInsertedEvent(serialized)

Event fired when text is inserted into a string.

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.

index -> number

The index of the change.

text -> string

The inserted text.