targetObject property

GraphObject? get targetObject

Gets or sets the GraphObject that is at the current mouse point, if any.

For those events that are bubbled up the chain of parent Panels, this property provides access to the original GraphObject where the input event occurred.

Implementation

_i3.GraphObject? get targetObject => _i4.getProperty(
      this,
      'targetObject',
    );
set targetObject (GraphObject? value)

Implementation

set targetObject(_i3.GraphObject? value) {
  _i4.setProperty(
    this,
    'targetObject',
    value ?? _i5.undefined,
  );
}