@mixd-id/web-scaffold 0.1.230406168 → 0.1.230406169
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/utils/helpers.mjs +3 -0
package/package.json
CHANGED
package/src/utils/helpers.mjs
CHANGED
|
@@ -273,6 +273,8 @@ const unPascalCase = function(str){
|
|
|
273
273
|
return str.replace(/([A-Z])/g, ' $1').trim()
|
|
274
274
|
}
|
|
275
275
|
|
|
276
|
+
const sleep = ms => new Promise(r => setTimeout(r, ms))
|
|
277
|
+
|
|
276
278
|
export {
|
|
277
279
|
downsizeImage,
|
|
278
280
|
uid,
|
|
@@ -288,6 +290,7 @@ export {
|
|
|
288
290
|
getClipboardData,
|
|
289
291
|
getComponentUids,
|
|
290
292
|
unPascalCase,
|
|
293
|
+
sleep,
|
|
291
294
|
}
|
|
292
295
|
|
|
293
296
|
function observeInit(){
|