Skip to content

Deol/regular-hotzone

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

regular-hotzone

version Build Status Github licences

nodei

A HotZone Component based on RegularJS.

DEMO

http://aeodu.com/regular-hotzone

Installation

$ npm install regularjs regular-hotzone

# only if hotzone.config.showCopy === true
$ npm install clipboard

Usage

  • 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>

CDN

unpkg

# css
//unpkg.com/regular-hotzone/dist/hotzone.min.css

# js
//unpkg.com/regular-hotzone/dist/hotzone.min.js

Development

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run startdev

# build for production with minification
npm run build

LICENSE

MIT