I cannot understand how events work with Angular Bootstrap Colorpicker . Here is the Plunker I was looking from an example developer. Unfortunately, the developer did not become an example for using events.
Events such as colorpicker-selected , colorpicker-selected-saturation , colorpicker-selected-hue , colorpicker-selected-alpha , colorpicker-shown , colorpicker-closed must be supported. Only one example will be enjoyable.
Base code without any events:
'use strict'; angular.module('colorApp', ['colorpicker.module']) .controller('MainCtrl', ['$scope', function($scope) { $scope.nonInput = { color: '' }; $scope.resetNonInputColor = function() { $scope.nonInput = { color: '#ffffff' }; }; }]);
javascript html angularjs color-picker
lin
source share