rubberBand
Resistance for dragging past an extreme. Rises smoothly from 0, always moves less than the finger and never reaches 48 pixels.
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { rubberBand } from "@mapcairn/core";
function rubberBand(overshoot: number): number;
Parameters
overshoot(number): Pixels past the extreme. Zero or less gives zero.
Returns
number