help-widget
This is a template for adding a generic intercom-like help widget to your site.
Last updated 3 months ago by alisalahio .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install help-widget 
SYNC missed versions from official npm registry.

Help Widget

This is a template for adding a generic intercom-like help widget to your site.

Check out the demo.

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

Current Tags

  • 1.0.0                                ...           latest (3 months ago)

1 Versions

  • 1.0.0                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (587)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |