@daybrush/utils
v1.13.0
Published
utils for daybrush
Downloads
449,474
Maintainers
Readme
@daybrush/utils
utils for Daybush
$ npm i @daybrush/utils
import {TRANSFORM, requestAnimationFrame, splitComma} from "@daybrush/utils";
Consts
- document
- OBJECT
- PROPERTY
- STRING
- UNDEFINED
- FUNCTION
- ARRAY
- IS_WINDOW
Cross Browser
- TRANSFORM
- FILTER
- ANIMATION
- KEYFRAMES
- getCrossBrowserProperty
- now
- requestAnimationFrame
Color
- RGB
- RGBA
- HSL
- HSLA
- COLOR_MODELS
- cutHex
- hexToRGBA
- hslToRGBA
- stringToRGBA
- toFullHex
DOM
- $
- hasClass
- removeClass
- addClass
- fromCSS
Utils
- splitUnit
- splitComma
- splitSpace
- splitBracket
- isUndefined
- isFunction
- isObject
- isArray
- isString
- camelize
- decamelize
- toArray
- dot