1.10.2 • Published 4 years ago

snapcall v1.10.2

Weekly downloads
36
License
custom
Repository
-
Last release
4 years ago

Snapcall

doc: https://doc.snapcall.io/#widget-api contact: hello@snapcall.io

Getting Started with NPM and a bundler.

npm install snapcall

load the snapcall widget:

import { snapcallAPI } from 'snapcall';

const bid = ""; // create an account on https://admin.snapcall.io/login to get a button identifier
snapcallAPI.initWidget(bid);

Getting started with npm and browser import/export.

npm install snapcall

load the snapcall widget:

<script type="module" src="node_modules/snapcall/index.js"></script>
const bid = ""; // create an account on https://admin.snapcall.io/login to get a button identifier
// snapcall script loaded before
if (snapcallAPI && snapcallAPI.initWidget) {
  snapcallAPI.initWidget(bid);
}
else {
  // snapcall script loaded after
  window.addEventListener('snapcallEvent_init', () => {
      snapcallAPI.initWidget(bid);
  })
}
1.10.2

4 years ago

1.9.5

5 years ago

1.9.3

5 years ago

1.9.1

5 years ago

1.8.4

5 years ago

1.8.2

5 years ago

1.8.1

5 years ago

1.8.0

5 years ago

1.7.15

5 years ago

1.7.14

5 years ago