Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
angularjs-color-picker
Advanced tools
AngularJS Color Picker Directive
bower install angularjs-color-picker --save
npm install angularjs-color-picker --save
<link rel="stylesheet" href="bower_components/angular-color-picker/dist/angularjs-color-picker.min.css" />
<!-- only include if you use bootstrap -->
<link rel="stylesheet" href="bower_components/angular-color-picker/dist/themes/angularjs-color-picker-bootstrap.min.css" />
<script src="bower_components/tinycolor/dist/tinycolor-min.js"></script>
<script src="bower_components/angular-color-picker/dist/angularjs-color-picker.min.js"></script>
angular.module('app', ['color.picker']);
<color-picker ng-model="myColor"></color-picker>
If a list is given then choose one of the items. The first item in the list will be the default.
<color-picker
ng-model="" <!-- only required field -->
color-picker-format="'hsl', 'hsv', 'rgb', 'hex', 'hex8'"
color-picker-alpha="true, false"
color-picker-swatch="true, false"
color-picker-swatch-pos="'left', 'right'"
color-picker-swatch-bootstrap="true, false"
color-picker-swatch-only="true, false"
color-picker-pos="'bottom left', 'bottom right', 'top left', 'top right'"
color-picker-case="'upper', 'lower'"
color-picker-on-change="onColorChange($event, color)"
></color-picker>
NO requirement for jQuery!
Inspiration and code taken from projects like
FAQs
Color Picker Directive For AngularJS
The npm package angularjs-color-picker receives a total of 5,561 weekly downloads. As such, angularjs-color-picker popularity was classified as popular.
We found that angularjs-color-picker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.