helper-js
Advanced tools
Changelog
[3.1.0] - 2022-03-08
Complete some functions' type declarations.
assignIfNoKey
assignIfKeyNull
objectAssignIfNoKey
objectAssignIfDiff
arrayDiff
css
cssNumber
pathJoin
isMobile
promisePin
Accumulate
svgToDataURL
genRandomLightColor
openPreviewWindow
continuous
promiseContinuous
isScrollable
getScrollSpace
bindContext
hasClasses
hasClassIn
hasClassIn
cloneObject
withoutUndefined
cloneTreeData
findInfoInTreeData
findTreeData
once
pointIn
between
extendedListen
objectDefineProxyProperty
applyFinally
findAll
binarySearch
: the second param callback
changed to callback(mid, index, count)
joinRows
depthFirstSearch
, walkTreeData
: move the third param childrenKey
into the 4th param opt
.addClass
, removeClass
: the second param className
can be string[]
getArrayItemSiblings
to getArrayItemSiblingsByOffsets
arrayGetRange
to arrayBetween
objectGet
to dotGet
objectSet
to dotSet
pairRows
to joinRows
executePromiseGetters
to promiseExecuteGetters
assignIfDifferent
to assignIfDiff
getLocalStorage2
to extendedLocalStorage
onDOM
to on
offDOM
to off
newArrayExcludingIndexes
getArrayItemSibling
arraySubtract
viewportPositionToOffset
offsetToViewportPosition
getBorder
uniqueId
store
depthFirstSearch
onDOMMany
findNodeList
, findNodeListReverse