1.0.2 • Published 3 years ago

dovellous-jsnippets v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Dovellous Snippets Build Status

The numeric pattern (triggers the number pad on mobile)

keypad Greenkeeper badge

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