angular-ui-slider
Advanced tools
Comparing version 0.2.1 to 0.3.0
{ | ||
"name": "angular-ui-slider", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "This directive allows you to add a slider to your form elements.", | ||
@@ -5,0 +5,0 @@ "author": "https://github.com/angular-ui/ui-slider/graphs/contributors", |
@@ -26,2 +26,3 @@ /* | ||
var useDecimals = (!angular.isUndefined(attrs.useDecimals)) ? true : false; | ||
var updateOn = (angular.isDefined(options['updateOn'])) ? options['updateOn'] : 'slide' | ||
@@ -79,3 +80,3 @@ var init = function() { | ||
// Update model value from slider | ||
elm.bind('slide', function(event, ui) { | ||
elm.bind(updateOn, function(event, ui) { | ||
var valuesChanged; | ||
@@ -82,0 +83,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
30566
238
0