help-widget
v1.0.0
Published
This is a template for adding a generic intercom-like help widget to your site.
Downloads
2
Readme
Help Widget
This is a template for adding a generic intercom-like help widget to your site.
Develop
yarn
yarn start
Use
yarn
yarn build release
- Add this to your html:
(function (w,d,s,o,f,js,fjs) {
w['help-widget']=o;w[o] = w[o] || function () { (w[o].q = w[o].q || []).push(arguments) };
js = d.createElement(s), fjs = d.getElementsByTagName(s)[0];
js.id = o; js.src = f; js.async = 1; fjs.parentNode.insertBefore(js, fjs);
}(window, document, 'script', 'hw', './widget.js'));
hw('init', { });
hw('message', '');
- Replace
./widget.js
with built javascript file
Based on JS Widget.
🙋🏻♂️ Made by @alisalahio
🙀 Instatus - Hosted status pages.
🤓 Sipreads - Non-fiction summaries.
🍪 Gatsby plugin metomic - Add a cookie consent to your Gatsby site.
👋 Gatsby portfolio + blog - Personal portfolio + blog using gatsby.