You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`(object / void)[]`| An array describing the plugins static modules instances or `undefined` if no instance was found. |
903
+
|`(object \| void)[]`| An array describing the plugins static modules instances or `undefined` if no instance was found. |
862
904
863
905
#### TypeScript
864
906
@@ -1050,10 +1092,10 @@ Custom themes can be done in several ways. The easiest and fastest way is to use
1050
1092
|`.os-scrollbar-rtl`| Indicates a `RTL` direction of the host element the scrollbar belongs to. |
1051
1093
|`.os-scrollbar-horizontal`| The root element of a horizontal scrollbar. |
1052
1094
|`.os-scrollbar-vertical`| The root element of a vertical scrollbar. |
1053
-
|`.os-scrollbar-handle-interactive`| Indicates that the handle inside the scrollbar is interactive (`scrollbars.dragScroll` is `true`). |
1054
-
|`.os-scrollbar-track-interactive`| Indicates that the track inside the scrollbar is interactive (`scrollbars.clickScroll` is `true`). |
1055
-
|`.os-scrollbar-track`| The track element. This is the track of the nested handle element. If `scrollbars.clickScroll` is `true` this is the element users can click to change the scroll offset. |
1056
-
|`.os-scrollbar-handle`| The handle element. If `scrollbars.dragScroll` is `true` this is the handle users can drag to change the scroll offset. |
1095
+
|`.os-scrollbar-handle-interactive`| Indicates that the handle inside the scrollbar is interactive (`scrollbars.dragScroll` is not `false`). |
1096
+
|`.os-scrollbar-track-interactive`| Indicates that the track inside the scrollbar is interactive (`scrollbars.clickScroll` is not `false`). |
1097
+
|`.os-scrollbar-track`| The track element. This is the track of the nested handle element. If `scrollbars.clickScroll` is not `false` this is the element users can click to change the scroll offset. |
1098
+
|`.os-scrollbar-handle`| The handle element. If `scrollbars.dragScroll` is not `false` this is the handle users can drag to change the scroll offset. |
1057
1099
1058
1100
If you create your own theme, please only use the classes listed above. All other classes are modifier classes used to change visibility, alignment and pointer-events of the scrollbars.
Copy file name to clipboardExpand all lines: packages/overlayscrollbars/CHANGELOG.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,15 @@
1
1
# Changelog
2
2
3
+
## 2.10.0
4
+
5
+
### Features
6
+
7
+
- The options `scrollbars.clickScroll` now supports the value `'instant'`. The `ClickScrollPlugin` is not required for it to work. [#645](https://github.com/KingSora/OverlayScrollbars/issues/645)
8
+
9
+
### Improvements
10
+
11
+
- Rewrite `clickScroll` animation for better performance and to support in and out easing for a smoother animation.
|`(object / void)[]`| An array describing the plugins static modules instances or `undefined` if no instance was found. |
903
+
|`(object \| void)[]`| An array describing the plugins static modules instances or `undefined` if no instance was found. |
862
904
863
905
#### TypeScript
864
906
@@ -1050,10 +1092,10 @@ Custom themes can be done in several ways. The easiest and fastest way is to use
1050
1092
|`.os-scrollbar-rtl`| Indicates a `RTL` direction of the host element the scrollbar belongs to. |
1051
1093
|`.os-scrollbar-horizontal`| The root element of a horizontal scrollbar. |
1052
1094
|`.os-scrollbar-vertical`| The root element of a vertical scrollbar. |
1053
-
|`.os-scrollbar-handle-interactive`| Indicates that the handle inside the scrollbar is interactive (`scrollbars.dragScroll` is `true`). |
1054
-
|`.os-scrollbar-track-interactive`| Indicates that the track inside the scrollbar is interactive (`scrollbars.clickScroll` is `true`). |
1055
-
|`.os-scrollbar-track`| The track element. This is the track of the nested handle element. If `scrollbars.clickScroll` is `true` this is the element users can click to change the scroll offset. |
1056
-
|`.os-scrollbar-handle`| The handle element. If `scrollbars.dragScroll` is `true` this is the handle users can drag to change the scroll offset. |
1095
+
|`.os-scrollbar-handle-interactive`| Indicates that the handle inside the scrollbar is interactive (`scrollbars.dragScroll` is not `false`). |
1096
+
|`.os-scrollbar-track-interactive`| Indicates that the track inside the scrollbar is interactive (`scrollbars.clickScroll` is not `false`). |
1097
+
|`.os-scrollbar-track`| The track element. This is the track of the nested handle element. If `scrollbars.clickScroll` is not `false` this is the element users can click to change the scroll offset. |
1098
+
|`.os-scrollbar-handle`| The handle element. If `scrollbars.dragScroll` is not `false` this is the handle users can drag to change the scroll offset. |
1057
1099
1058
1100
If you create your own theme, please only use the classes listed above. All other classes are modifier classes used to change visibility, alignment and pointer-events of the scrollbars.
Copy file name to clipboardExpand all lines: packages/overlayscrollbars/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
{
2
2
"name": "overlayscrollbars",
3
3
"private": true,
4
-
"version": "2.9.2",
4
+
"version": "2.10.0",
5
5
"description": "A javascript scrollbar plugin that hides the native scrollbars, provides custom styleable overlay scrollbars, and preserves the native functionality and feel.",
0 commit comments