actionDown property
void Function(InputEvent, GraphObject)?
get
actionDown
Gets or sets the function to execute on a mouse-down event when this GraphObject's #isActionable is set to true. This property is infrequently set. By default this property is null.
This functional property is only set on objects such as buttons, knobs, or sliders that want to handle all events, in conjunction with ActionTool, pre-empting the normal tool mechanisms.
The ActionTool does not conduct any transaction, so if this property has a value, the function will not be called within a transaction.
Implementation
void Function(
_i3.InputEvent,
_i3.GraphObject,
)? get actionDown => (
_i3.InputEvent p0,
_i3.GraphObject p1,
) =>
_i4.callMethod(
_i4.getProperty(
this,
'actionDown',
),
r'call',
[
this,
p0,
p1,
],
);
set
actionDown
(void value(InputEvent, GraphObject)?)
Implementation
set actionDown(
void Function(
_i3.InputEvent,
_i3.GraphObject,
)? value) {
_i4.setProperty(
this,
'actionDown',
value == null ? _i5.undefined : _i4.allowInterop(value),
);
}