2.0.20 • Published 2 months ago
@forter/scrollbar v2.0.20
fc-scrollbar
An element by Forter
Usage
<script>
import '@forter/scrollbar';
</script>
<fc-scrollbar style="max-height: 100px; width: 50px;">
<div style="display: flex; flex-direction: column; background-color: var(--fc-gray-600); color: black;">
<span>1</span>
<span>2</span>
<span>3</span>
<span>4</span>
<span>5</span>
<span>6</span>
<span>7</span>
<span>8</span>
<span>9</span>
<span>10</span>
</div>
</fc-scrollbar>
Properties
Property | Attribute | Type | Default | Description |
---|---|---|---|---|
calculateScrollbarThrottled | any | |||
dragScrollbarThrottled | any | |||
horizontal | horizontal | boolean | false | Use this attribute to change from vertical to horizontal scrolling. |
CSS Custom Properties
Property | Description |
---|---|
--fc-scrollbar-hover-thumb-background-color | thumb hover background color. example: pink |
--fc-scrollbar-thumb-background-color | thumb background color. example: var(--fc-blue-500) |
--fc-scrollbar-thumb-border-radius | thumb border radius. example: 0px |
--fc-scrollbar-thumb-margin | thumb margin. example: 10px |
--fc-scrollbar-thumb-width | thumb width. example: 10px |
2.0.20
2 months ago
2.0.19
2 months ago
2.0.18
2 months ago
2.0.17
3 months ago
2.0.16
5 months ago
2.0.15
5 months ago
2.0.14
5 months ago
2.0.13
5 months ago
1.4.5
10 months ago
1.4.4
10 months ago
1.4.3
10 months ago
1.4.2
11 months ago
2.0.3
9 months ago
2.0.2
10 months ago
2.0.5
9 months ago
2.0.4
9 months ago
2.0.11
6 months ago
2.0.7
7 months ago
2.0.12
6 months ago
2.0.6
7 months ago
2.0.9
6 months ago
2.0.10
6 months ago
2.0.8
7 months ago
2.0.1
10 months ago
2.0.0
10 months ago
1.4.1
11 months ago
1.4.0
11 months ago
1.3.1
3 years ago
1.3.0
3 years ago
1.2.1
3 years ago
1.2.0
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago