Module loaders
Webpack
Install Huebee with npm.
npm install huebee
You can then require('huebee')
.
// main.js
var Huebee = require('huebee');
var hueb = new Huebee( '.color-input', {
// options
});
Run webpack.
webpack main.js bundle.js
RequireJS
You can require huebee.pkgd.js
.
requirejs( [
'path/to/huebee.pkgd.js',
], function( Huebee ) {
var hueb = new Huebee( '.color-input', {
// options
});
});
Browserify
Install Huebee with npm.
npm install huebee
You can then require('huebee')
.
var Huebee = require('huebee');
var hueb = new Huebee( '.color-input', {
// options
});
Browser support
Huebee v1 supports IE10+, Android 4+, Safari for iOS 5+, Firefox 16+, and Chrome 12+.
Issues
Reduced test cases
Creating a reduced test case is the best way to debug problems and report issues. Read CSS Tricks on why they’re so great.
Create a reduced test case for Flickity by forking any one of the CodePen demos from these docs.
- A reduced test case clearly demonstrates the bug or issue.
- It contains the bare minimum HTML, CSS, and JavaScript required to demonstrate the bug.
- A link to your production site is not a reduced test case.
Creating a reduced test case is the best way to get your issue addressed. They help you point out the problem. They help me debug the problem. They help others understand the problem.
Submitting issues
Report issues on GitHub. Make sure to include a reduced test case. Without a reduced test case, your issue may be closed.
Feature requests
Help me select new features by looking over requested features on the GitHub issue tracker and adding your +1 reaction (not a "+1" comment) to features you’d like to see added. Please do not add "+1" comments — they will be deleted. Subscribe to the issue using the button in the sidebar to get updates.