angular-bootstrap-colorpicker-webpack
v1.0.1
Published
webpack version of angular-bootstrap-colorpicker-webpack
Downloads
66
Maintainers
Readme
angular-bootstrap-colorpicker-webpack
The Basics
- Based on http://codepen.io/buberdds/full/fBAsr/
- A webpack version of the this angular module
Installation
Within your webpack module include CSS & JS
var angular = require('angular');
require('angular-bootstrap-colorpicker-webpack/src/colorpicker.css')
ngModule = angular.module('myModule', [
require('angular-bootstrap-colorpicker-webpack')
])
require('./otherComponents')(ngModule);
module.exports = ngModule.name;
In your html add the colorpicker
directive
<input colorpicker ng-model="myModel">
See the link above for indepth customization instructions.