Scrollable
Tag name: <vscode-scrollable>
Properties
alwaysVisiblereflects
Name | alwaysVisible |
---|---|
Attribute | always-visible |
Type |
|
Default |
|
Description | By default, the scrollbar appears only when the cursor hovers over the component. With this option, the scrollbar will always be visible. |
fastScrollSensitivity
Name | fastScrollSensitivity |
---|---|
Attribute | fast-scroll-sensitivity |
Type |
|
Default |
|
Description | Scrolling speed multiplier when pressing |
minThumbSize
Name | minThumbSize |
---|---|
Attribute | min-thumb-size |
Type |
|
Default |
|
Description | This setting defines the scrollbar's minimum size when the component contains a large amount of content. |
mouseWheelScrollSensitivity
Name | mouseWheelScrollSensitivity |
---|---|
Attribute | mouse-wheel-scroll-sensitivity |
Type |
|
Default |
|
Description | A multiplier to be used on the |
scrollMaxreadonly
Name | scrollMax |
---|---|
Attribute | scroll-max |
Type |
|
Description | The maximum amount of the |
scrollPos
Name | scrollPos |
---|---|
Attribute | scroll-pos |
Type |
|
Description | Scroll position. |
scrolledreflects
Name | scrolled |
---|---|
Attribute | scrolled |
Type |
|
Default |
|
Description | It's true when |
shadowreflects
Name | shadow |
---|---|
Attribute | shadow |
Type |
|
Default |
|
Description | Controls shadow visibility when content overflows. |
versionreadonly
Name | version |
---|---|
Type |
|
Description | VSCode Elements version |
CSS Custom Properties
--min-thumb-height
Name | --min-thumb-height |
---|
--vscode-scrollbar-shadow
Name | --vscode-scrollbar-shadow |
---|---|
Default value | #000000 |
--vscode-scrollbarSlider-activeBackground
Name | --vscode-scrollbarSlider-activeBackground |
---|---|
Default value | rgba(191, 191, 191, 0.4) |
--vscode-scrollbarSlider-background
Name | --vscode-scrollbarSlider-background |
---|---|
Default value | rgba(121, 121, 121, 0.4) |
--vscode-scrollbarSlider-hoverBackground
Name | --vscode-scrollbarSlider-hoverBackground |
---|---|
Default value | rgba(100, 100, 100, 0.7) |