canIncreaseZoom method

bool canIncreaseZoom([
  1. num? factor
])

This predicate controls whether or not the user can invoke the #increaseZoom 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 #zoomFactor. The value should be greater than one. @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 #increaseZoom

Implementation

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