dovellous-jsnippets
v1.0.2
Published
A bundle of javascript snippets
Downloads
3
Maintainers
Readme
Dovellous Snippets
The numeric pattern (triggers the number pad on mobile)
Install
$ npm install --save dovellous-jsnippets
Usage
<script src="./js/dovellous.snippets.min.js"></script>
Usage
window.addEventListener("ON_DOVELLOUS_SNIPPETS_READY", function (eventParams){
const dovellous = eventParams.detail[0];
const eventData = eventParams.detail[1];
dovellous.jSnippets.test.helloWorld().then(function (res) {
console.log(":: RES ::", res);
});
});
const params = {
a: "A",
b: [1, 2, 3, 4, 5]
};
initDovellousJSnippets(params);
License
MIT © Dovellous