currentObject property
GraphObject?
get
currentObject
Gets or sets the GraphObject found at the mouse point that has a context menu. This property remembers the result returned by #findObjectWithContextMenu if it is a GraphObject. This value is passed to #showContextMenu as the second argument. The value will be null if the context menu is for the diagram rather than for a particular GraphObject.
Implementation
_i3.GraphObject? get currentObject => _i4.getProperty(
this,
'currentObject',
);
set
currentObject
(GraphObject? value)
Implementation
set currentObject(_i3.GraphObject? value) {
_i4.setProperty(
this,
'currentObject',
value ?? _i5.undefined,
);
}