@haiku/player
Version:
Haiku Player is a JavaScript library for building user interfaces
10 lines • 336 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.steps = function (count, pos) {
var q = count / 1;
var p = pos === 'end'
? 0 : pos === 'start'
? 1 : pos || 0;
return function (x) { return x >= 1 ? 1 : (p * q + x) - (p * q + x) % q; };
};
//# sourceMappingURL=steps.js.map