This API is deprecated and will be turned down in January 2019. Migrate to Cloud Firestore or another data store as soon as possible to avoid disruptions to your application.

Class: UndoRedoStateChangedEvent

Properties
canRedo boolean

True if the user can currently redo, false otherwise.

canUndo boolean

True if the user can currently undo, false otherwise.

target gapi.drive.realtime.Model

The Realtime model that initiated this event.

type string

The type of the event.

new UndoRedoStateChangedEvent(model, canUndo, canRedo)

Parameters

Name Type Optional Description

model

gapi.drive.realtime.Model

 

The source object.

Value must not be null.

canUndo

boolean

 

True if the user can currently undo, false otherwise.

canRedo

boolean

 

False if the user can currently redo, false otherwise.

Properties

canRedo  boolean

True if the user can currently redo, false otherwise.

canUndo  boolean

True if the user can currently undo, false otherwise.

target  gapi.drive.realtime.Model

The Realtime model that initiated this event.

type  string

The type of the event.

Send feedback about...

Realtime API
Realtime API