A collection of utilities, classes, functions and abstracts made for the browser and babel compatible.
npm install @squirrel-forge/ui-util```
npm i @squirrel-forge/ui-util
```
import { Class, function } from '@squirrel-forge/ui-util';
- Javascript
- Animation
- afterPaint()
- cssTransition()
- Easing()
- holdElementViewportPosition()
- scrollComplete()
- Scroller
- scrollTo()
- [scrollTrigger()]
- [scrollTriggerAll()]
- Slide functions
- slideToggle()
- slideHide()
- slideShow()
- Array
- mergeArray()
- [Data]
- [LStorage]
- [saveBlobAs()]
- Dev
- ConsoleInterceptor
- tabFocus()
- TestRunner()
- DOM
- appendAfter()
- appendHTML()
- attributeJSON()
- getElementTagType()/deprecated
- getPropertyValues()
- prependChild()
- uniqid()
- requireUniqid()
- unwrap()
- wrap()
- Error
- Exception
- [ExceptionHandler]
- Events
- bindMultiClick()
- bindNodeList()
- CallbackEvents
- [copyToClipboard()]
- [copyToClipboardFallback()]
- debounce()
- docReady()
- Draggables()
- EventDispatcher
- [hasTouch()]
- [poll()]
- getFocusable
- tabFocusLock
- HTTP
- AsyncRequest
- [CookieManager]
- JsonP
- LocationManager
- Layout
- getScrollbarWidth()
- getVisibility()
- [measureText()]
- Logic
- Config
- Plugin
- Plugins
- Tracker
- Number
- convertBytes()
- gcd()
- isEven()
- isFloat()
- leadingZeros()
- [orientation()]
- rand()
- [Ratio]
- [rgb2hex()]
- round()
- [snapValue()]
- Object
- cloneObject()
- isPojo()
- mergeObject()
- [objectEmpty()]
- strAccess()
- strCreate()
- String
- colorand()
- escapeHTML()
- [hex2rgb()]
- isValidFunctionName()
- normalizePath()
- [rgba2hex()]
- simpleReplace()
- str2node()
- str2time()
- strand()
- [strCamel2Dash()]
- strSlug()
- [strStyle()]
- trimChar()
- [rtrimChar()]
- [ltrimChar()]
- ucfirst()
- Var
- cast2type()
- isEmpty()
---
Check the sourcecode on github for detailed comments.