mouseOver property
void Function(InputEvent)?
get
mouseOver
Gets or sets the function to execute when the user moves the mouse (pointer) in the background of the Diagram without holding down any buttons, not over any GraphObjects. This property is used by the ToolManager.
If this property value is a function, it is called with an InputEvent. By default this property is null.
This function is called with Diagram#skipsUndoManager temporarily set to true, so that any changes to GraphObjects are not recorded in the UndoManager. You do not need to start and commit any transaction in this function. After calling this function the diagram will be updated immediately.
Implementation
void Function(_i3.InputEvent)? get mouseOver =>
(_i3.InputEvent p0) => _i4.callMethod(
_i4.getProperty(
this,
'mouseOver',
),
r'call',
[
this,
p0,
],
);
set
mouseOver
(void value(InputEvent)?)
Implementation
set mouseOver(void Function(_i3.InputEvent)? value) {
_i4.setProperty(
this,
'mouseOver',
value == null ? _i5.undefined : _i4.allowInterop(value),
);
}