evCreate API 5.7 Help

EvEvent Interface

The EvEvent TS interface defines a document event that has occurred and has been broadcast during a single document editing session in the Canvas Envision Creator web app.

Properties

An EvEvent object has the following properties:

documentContext: DocumentContext;

A DocumentContext object, the information about a document where a broadcast event occurred.

eventContext: any;

Any kind of data that can be associated with the occurred event.

eventType: EvEventType;

A member of the EvEventType enumeration, the type of the occurred event.

Examples

TS

{ documentContext: { center_id: 12, draft_id: 987456, user_id: 74123, workspace_id: 34, }, eventContext: { ... }, type: EvEventType.OBJECT_CLICKED, start: 5 }

JS

{ documentContext: { center_id: 12, draft_id: 987456, user_id: 74123, workspace_id: 34, }, eventContext: { ... }, eventType: "object_clicked" }
29 April 2025