@adoratorio/hades
Advanced tools
Comparing version 0.1.16 to 0.1.17
{ | ||
"name": "@adoratorio/hades", | ||
"version": "0.1.16", | ||
"version": "0.1.17", | ||
"description": "A smooth scrollbar based on Hermes, scroll down 'till hell", | ||
@@ -40,3 +40,3 @@ "main": "dist/index.js", | ||
"@adoratorio/aion": "^0.3.3", | ||
"@adoratorio/hermes": "^0.1.29" | ||
"@adoratorio/hermes": "^0.1.30" | ||
}, | ||
@@ -43,0 +43,0 @@ "devDependencies": { |
@@ -34,3 +34,3 @@ # Hades | ||
|emitGlobal|`boolean`|`false`|If you want the custom scroll generated internally also emitted on global scope (window).| | ||
|callback|`Function`|`() => {}`|The function called on each scroll event, the [HadesEvent]() is passed to this function.| | ||
|callback|`Callbacks`|`{ frame: () => {}, scroll: () => {} }`|The callbacks functions, scroll is called on each scroll event, the [HadesEvent]() is passed to this function. Frame is called every rAF after updating style| | ||
|renderByPixel|`boolean`|`false`|Used if you want to apply integer rounded values to the css transition units. If not, the full value is used instead, resulting in a smoother animations, especially the slowest ones, avoiding that much stattering in particular in the end of the animation, but it's performance consuming.| | ||
@@ -37,0 +37,0 @@ |lockX|`boolean`|`true`|Lock the x axis when detecting scroll events.| |
40196
Updated@adoratorio/hermes@^0.1.30