element-util
v1.6.10
Published
The utility library that provides convenience for using HTML Element.
Downloads
39
Readme
ElementUtil
The javascript library for using DOM Elements conveniently.
Install
npm install element-util
Usage
import * as ElementUtil from 'element-util';
const elm = ElementUtil.getElement('#app');
// --- or ---
import { addListener } from 'element-util';
addListener('ul > li', 'click', () => console.log('item clicked!'));
Please see ElementUtil API.