@talentsoft-opensource/uxp-themes
Version:
Talentsoft UX themes
17 lines (16 loc) • 508 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var utils = {
debounce: function (func, wait) {
if (wait === void 0) { wait = 33; }
var h;
return function () {
clearTimeout(h);
h = window.setInterval(function () { return func(); }, wait);
};
},
generateUUID: function () {
return Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
}
};
exports.utils = utils;