zap-base-dom-data
v1.0.0
Published
just translating (and testing) some old code to ES6, nothing to see here ;-)
Downloads
9
Readme
zap-base-dom-data
just translating (and testing) some old code to ES6, nothing to see here ;-)
Install
$ npm install zap-base-dom-data
Usage
import {
store,
retrieve,
clear,
} from 'zap-base-dom-data';
store
store(dataElement, 'demo', 'test data');
retrieve
var data = retrieve(dataElement, 'demo');
clear
clear(dataElement, 'demo');