Utility for the-components
npm install @the-/util-ui@the-/util-ui
==========
[![npm Version][bd_npm_shield_url]][bd_npm_url]
[bd_repo_url]: https://github.com/the-labo/the
[bd_npm_url]: http://www.npmjs.org/package/@the-/util-ui
[bd_npm_shield_url]: http://img.shields.io/npm/v/@the-/util-ui.svg?style=flat
Utility for the-components
Installation
-----
``bash`
$ npm install @the-/util-ui --save
Usage
---------
`javascript
``
- global
- base64ToBlob(base64String)
- isVideoSrc(src)
- module:@the-/util-site
- .scrollToElement(element)
- 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.
Links
------
+ [THE Labo][the_labo_url]
[the_labo_url]: https://github.com/the-labo