@hd-sh/util
v1.0.2
Published
util
Downloads
1
Readme
util
Example Usage
const Util, { isIOS,.... } = require('@hd-sh/util')
Util.getStyle
isIOS
or
const { isIOS, getStyle,.... } = require('@hd-sh/util')
isIOS
getStyle('dom','xx')
isIOS,
isAndroid,
isIE,
delay,
sleep,
generateRange,
importScript,
makeCancelablePromise,
formatRequestData,
formatPhoneDisplay,
phoneDesensitize,
throttle,
stabilization,
debounce,
copyText,
generateUuid,
isEmptyArray,
isEmptyObject,
isEmptyValue,
isGeneratorFunction,
isNotNumber,
noopValidator,
patterns,
validators,
typeFn,
sum,
getStyle,
getURLParams,
formatSearchValue,
getElementOffset,
getStorageData,
setStorageData,
getSessionData,
setSessionData,