Skip to content

Commit 3c31350

Browse files
committed
complete functionality
1 parent 87e75e5 commit 3c31350

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+740
-7
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
options
2+
allowPageScroll: aBoolean
3+
"allowPageScroll - Checks if mouse wheel should scroll page when bar reaches top or bottom of the container. When set to true is scrolls the page.Default: false"
4+
5+
self optionAt: 'allowPageScroll' put: aBoolean
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
options
2+
allowPageScroll
3+
"allowPageScroll - Checks if mouse wheel should scroll page when bar reaches top or bottom of the container. When set to true is scrolls the page.Default: false"
4+
5+
self allowPageScroll: true
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
options
2+
alwaysVisible: aBoolean
3+
"alwaysVisible - Disables scrollbar hide. Default: false"
4+
5+
self optionAt: 'alwaysVisible' put: aBoolean
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
options
2+
alwaysVisible
3+
"alwaysVisible - Disables scrollbar hide. Default: false"
4+
5+
self alwaysVisible: true
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
options
2+
color: aString
3+
"color - Color in hex of the scrollbar. Default: #000000"
4+
5+
self optionAt: 'color' put: aString
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
options
2+
disableFadeOut: aBoolean
3+
"disableFadeOut - Disables scrollbar auto fade. When set to true scrollbar doesn't disappear after some time when mouse is over the slimscroll div.Default: false"
4+
5+
self optionAt: 'disableFadeOut' put: aBoolean
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
options
2+
distance: aString
3+
"distance - Distance in pixels from the edge of the parent element where scrollbar should appear. It is used together with position property. Default:1px"
4+
5+
self optionAt: 'distance' put: aString
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
options
2+
height: aString
3+
"height - Height in pixels of the visible scroll area. Also supports auto to set the height to same as parent container. Default: 250px"
4+
5+
self optionAt: 'height' put: aString
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
accessing
2+
method
3+
^ 'slimScroll'
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
options
2+
onEvent: aJSScript
3+
self
4+
call: 'bind'
5+
with: 'slimscroll'
6+
with: (aJSScript asFunction: #('e' 'position'))

0 commit comments

Comments
 (0)