@the-/util-ui
Utility for the-components
Installation
$ npm install @the-/util-ui --save
Usage
API Guide
- global
- module:@the-/util-site
- module:@the-/util-ui
- .asStyleData(scopeSelector,data)
- .bindEventListeners(elm,handlers,opt)
- .changedProps(prevProps,props)
- .eventHandlersFor(props,options)
- .htmlAttributesFor(props,options)
- .isKeyCode(code,name)
- .isMultiTouchEvent(e)
- .isServerSide()
- .newId(options)
- .observeSize(elm,handler)
- .readFileAsDataURL(file)
- .stopTouchScrolling(options)
- .toggleBodyClass(enabled=,className)
See API Guide for more detail
License
This software is released under the MIT License.