clearSelection method

void clearSelection([
  1. bool? skipsEvents
])

Deselect all selected Parts. This removes all parts from the #selection collection.

This method raises the "ChangingSelection" and "ChangedSelection" DiagramEvents. @expose @param {boolean=} skipsEvents if true, do not raise the DiagramEvents "ChangingSelection" and "ChangedSelection"; if not supplied the value is assumed to be false. @see #select @see #selectCollection @see #clearHighlighteds

Implementation

void clearSelection([_i2.bool? skipsEvents]) {
  _i4.callMethod(
    this,
    'clearSelection',
    [skipsEvents ?? _i5.undefined],
  );
}