package.dist.progress.es.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of utils Show documentation
Show all versions of utils Show documentation
A collection of utility functions for animations.
const progress = (min, max, value) => max - min === 0 ? 1 : (value - min) / (max - min);
export { progress };