New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

angular-smooth-scrollbar

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-smooth-scrollbar - npm Package Compare versions

Comparing version 3.0.0 to 4.0.0

4

bower.json
{
"name": "angular-smooth-scrollbar",
"version": "3.0.0",
"version": "4.0.0",
"authors": [

@@ -31,4 +31,4 @@ "Dolphin Wood <dolphin.w.e@gmail.com>"

"angular": "~1.4.3",
"smooth-scrollbar": "^3.0.0"
"smooth-scrollbar": "^4.0.0"
}
}

@@ -131,5 +131,3 @@

speed: '@',
fricton: '@',
inflection: '@',
sensitivity: '@'
fricton: '@'
},

@@ -139,4 +137,2 @@ link: function link(scope, elem, attrs, ctrl, transclude) {

var fricton = scope.fricton;
var inflection = scope.inflection;
var sensitivity = scope.sensitivity;

@@ -146,3 +142,3 @@ var name = attrs.scrollbar || attrs.name || ScrollbarService.generateName();

var scrollbar = ScrollbarService.createInstance(name, elem[0], {
speed: speed, fricton: fricton, inflection: inflection, sensitivity: sensitivity
speed: speed, fricton: fricton
});

@@ -149,0 +145,0 @@

@@ -95,12 +95,10 @@ angular.module('SmoothScrollbar', [])

speed: '@',
fricton: '@',
inflection: '@',
sensitivity: '@'
fricton: '@'
},
link(scope, elem, attrs, ctrl, transclude) {
const { speed, fricton, inflection, sensitivity } = scope;
const { speed, fricton } = scope;
const name = attrs.scrollbar || attrs.name || ScrollbarService.generateName();
const scrollbar = ScrollbarService.createInstance(name, elem[0], {
speed, fricton, inflection, sensitivity
speed, fricton
});

@@ -107,0 +105,0 @@

{
"name": "angular-smooth-scrollbar",
"version": "3.0.0",
"version": "4.0.0",
"description": "An angular module that allows you customize smooth scrollbars",

@@ -28,3 +28,3 @@ "main": "dist/angular-smooth-scrollbar.js",

"angular": "^1.4.8",
"smooth-scrollbar": "^3.0.0"
"smooth-scrollbar": "^4.0.0"
},

@@ -31,0 +31,0 @@ "devDependencies": {

@@ -76,4 +76,2 @@ # angular-smooth-scrollbar

| fricton | Number | 10 | Scrolling fricton, a percentage value within (1, 100) |
| inflection | Number | 10 | When scrolling speed is lower than infleciton point, sensitivity will be scaled to 10x. |
| sensitivity | Number | 0.1 | Wheel sensitivity, lower is accurate. |

@@ -80,0 +78,0 @@ Confusing with the option field? Try editor tool [here](http://idiotwu.github.io/smooth-scrollbar/)!

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc