Docs
Everything You Need to Know
Utilities
API
The following utility methods are explained on this page.
- $.noop()
- $.uuid()
- $.require()
- $.delay()
- $.each()
- $.replace()
- $.isEmptyObject()
- $.isInteger()
- $.isFloat()
- $.type()
- $.encode()
- $.escapeHTML()
- $.concat()
- $.mixin()
- $.unique()
- $.compare()
- $.paginate()
- $.flatten()
- $.throttle()
- $.debounce()
- $.once()
- $.before()
- $.after()
The following utility methods are specific to the DOM and are explained on this page.
- $(selector).iz()
- $(selector).iznt()
- $(selector).haz()
- $(selector).haznt()
- $(selector).hazClass()
- $(selector).hazntClass()
- $(selector).hazAttr()
- $(selector).hazntAttr()
- $(selector).forEach()
- $(selector).disable()
- $(selector).enable()
- $(selector).forEach()
ChocolateChip-UI also provides the following array utilities:
- Array.pluck(property)
- array1.difference(array2)
- array1.intersection(array2)
- array1.mixin(array2)
- array.unique()
The following utility methods are for dealing with color and explained on this page.
Color Methods
- $.ChuiColor(colorValue)
- $.calculateBrightness(colorObject)
- $.calculateContrast(colorValue)
- $.lightenColor(hexColorValue, percent)
- $.darkenColor(hexColorValue, percent)