dynamic-virtual-scroller
Advanced tools
Comparing version 2.0.2 to 2.1.0
{ | ||
"name": "dynamic-virtual-scroller", | ||
"version": "2.0.2", | ||
"version": "2.1.0", | ||
"description": "A virtual scroller for the web that can handle dynamic row and column sizes.", | ||
@@ -5,0 +5,0 @@ "main": "virtual-scroller.js", |
@@ -6,2 +6,4 @@ import {ATTRIBUTES, EVENTS, CLASSES, DATA} from "./constants"; | ||
import DataAdapter from './DataAdapter'; | ||
import DomCacheAdapter from './DomCacheAdapter'; | ||
import DragulaAdapter from './DragulaAdapter'; | ||
import ScrollManager from './ScrollManager'; | ||
@@ -342,2 +344,5 @@ var {$, _} = window; | ||
}, | ||
rowWasMovedInDom: renderManager.rowWasMovedInDom, | ||
getFirstRenderedRowIndex: renderManager.getFirstRenderedRowIndex, | ||
@@ -514,7 +519,9 @@ scrollTo: function (params) { | ||
VirtualScroller.preventBodyScrollingOnIOS = () => { | ||
$(document.body).css({ | ||
width: '100%', | ||
position: 'fixed', | ||
overflow: 'hidden' | ||
}); | ||
$(document.body) | ||
.css({ | ||
width: '100%', | ||
position: 'fixed', | ||
overflow: 'hidden' | ||
}) | ||
.attr('inline-styles-were-set-by', 'VirtualScroller.preventBodyScrollingOnIOS'); | ||
}; | ||
@@ -531,2 +538,4 @@ | ||
VirtualScroller.DataAdapter = DataAdapter; | ||
VirtualScroller.DomCacheAdapter = DomCacheAdapter; | ||
VirtualScroller.DragulaAdapter = DragulaAdapter; | ||
@@ -533,0 +542,0 @@ // expose VirtualScroller to the global namespace |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
468104
26
6203
3
2