src/views/Flat.js
function(min, max) {
    return function limitY(params) {
      params.y = clamp(params.y, min, max);
      return params;
    };
  }
function(min, max) {
    return function limitY(params) {
      params.y = clamp(params.y, min, max);
      return params;
    };
  }
function ( min , max ) { return function limitY ( params ) { params . y = clamp ( params . y , min , max ) ; return params ; } ; }
Return a view limiter that constrains the y parameter.
@param {number} min The minimum y value.
@param {number} max The maximum y value.
@return {FlatViewLimiter}
Return a view limiter that constrains the y parameter .