vanilla-recycler-view
Version:
high performance UI rendering library for web browser
12 lines • 318 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.toPx = exports.parsePx = void 0;
function parsePx(str) {
return Number(str.split('px')[0]);
}
exports.parsePx = parsePx;
function toPx(n) {
return n.toString() + 'px';
}
exports.toPx = toPx;
//# sourceMappingURL=parser.js.map