platform-bible-utils
    Preparing search index...

    Function clampZoom

    • Experimental

      Clamps a zoom factor into [MIN_ZOOM_FACTOR, MAX_ZOOM_FACTOR].

      Parameters

      • factor: number

        The zoom factor to clamp

      Returns number

      The factor bounded to the allowed range This export is unstable and may change shape or disappear without notice