canDecreaseZoom method

bool canDecreaseZoom([
  1. num? factor
])

This predicate controls whether or not the user can invoke the #decreaseZoom command.

This method may be overridden, but you should consider calling this base method in order to get all of its functionality. This method must not have any side-effects. Please read the Introduction page on Extensions for how to override methods and how to call this base method. @expose @param {number=} factor This defaults to 1/#zoomFactor. The value should be less than one and greater than zero. @return {boolean} This returns true if Diagram#allowZoom is true and if the new scale is within the range of Diagram#minScale and Diagram#maxScale. @see #decreaseZoom

Implementation

_i2.bool canDecreaseZoom([_i2.num? factor]) => _i4.callMethod(
      this,
      'canDecreaseZoom',
      [factor ?? _i5.undefined],
    );