Skip to main content

DiagramCellTemplateEventCallbackPayload

Payload passed to a cell template event callback.

Type Parameters​

E​

E extends Event = Event

Properties​

cell​

cell: DiagramCell

The diagram cell whose rendered template contained the matching event target.


diagram​

diagram: Diagram

The diagram that owns the cell.


event​

event: E

The original browser event.


eventTarget​

eventTarget: BrowserElement

The element inside the rendered shape template that matched the configured selector.


model​

model: BrowserUIModel

The underlying VisuallyJs model.


ui​

ui: BrowserUI

The UI that rendered the diagram.


vertex​

vertex: Node | Group

The backing vertex for the cell.