A HotZone Component based on RegularJS.
http://aeodu.com/regular-hotzone
$ npm install regularjs regular-hotzone
# only if hotzone.config.showCopy === true
$ npm install clipboard
- CommonJS
var hotZone = require('regular-hotzone');
- Global
Include the link and the script in the browser:
<!-- css -->
<link rel="stylesheet" href="//unpkg.com/regular-hotzone/dist/hotzone.min.css">
<!-- RegularJS -->
<script src="https://rawgit.com/regularjs/regular/master/dist/regular.js"></script>
<!-- the hotZone component -->
<script src="//unpkg.com/regular-hotzone/dist/hotzone.min.js"></script>
# css
//unpkg.com/regular-hotzone/dist/hotzone.min.css
# js
//unpkg.com/regular-hotzone/dist/hotzone.min.js
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run startdev
# build for production with minification
npm run build
MIT