Utils
Find below functions that can help you in your projects.
Utils
- cache
- createElement
- debounce
- keyCodes
- loadElement
- loadIframe
- loadImage
- loadLink
- loadScript
- memo
- memoize
- nextFrame
- nextMicrotask
- nextTick
- Queue
- randomInt
- randomItem
- scrollTo
- SmartQueue
- throttle
- trapFocus
- tween
- useScheduler
Value utils
Collision utils
- boundingRectToCircle
- collideCircleCircle
- collideCircleRect
- collidePointCircle
- collidePointRect
- collideRectRect
CSS utils
History utils
Math utils
String utils
- camelCase
- dashCase
- pascalCase
- snakeCase
- lowerCase
- upperCase
- startsWith
- endsWith
- withLeadingCharacters
- withLeadingSlash
- withoutLeadingCharacters
- withoutLeadingCharactersRecursive
- withoutLeadingSlash
- withoutTrailingCharacters
- withoutTrailingCharactersRecursive
- withoutTrailingSlash
- withTrailingCharacters
- withTrailingSlash