gridSnapCellSpot property

Spot get gridSnapCellSpot

Gets or sets the Spot that specifies what point in the grid cell dragged parts snap to, if the value of #isGridSnapEnabled is true. By default this property is Spot.TopLeft: node locations will snap exactly to the grid point. Setting this property does not raise any events.

This property is a convenience getter/setter, and sets a value on #dragOptions.

Implementation

_i3.Spot get gridSnapCellSpot => _i4.getProperty(
      this,
      'gridSnapCellSpot',
    );
set gridSnapCellSpot (Spot value)

Implementation

set gridSnapCellSpot(_i3.Spot value) {
  _i4.setProperty(
    this,
    'gridSnapCellSpot',
    value,
  );
}