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
Copy file name to clipboardExpand all lines: projects/ngx-scrolltop/README.md
+27-14Lines changed: 27 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
[](https://gitter.im/ngx-scrolltop/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
| mode | 'smart', 'classic'| 'classic' |**Smart** mode shows button only when you scroll more than two screens down and then you will try to go back to top. **Classic** mode shows button immediately when you scroll at least one screen down. |
64
-
| backgroundColor | string |#212121| Background color (you can use all values for `backgroud-color` css property) |
65
-
| symbolColor | string | #fafafa | Symbol color (you can use all values for `fill` svg property) |
66
-
| size | number | 40 | Button size(in pixels). Symbol will be resized automatically. |
67
-
| symbol | string || You can use utf8 chars for customizing symbol. For example: `↑`|
68
-
| position | 'left', 'right' | 'right' | Left or right, that is the question.|
69
-
| theme |[NgxScrolltopTheme](projects/ngx-scrolltop/src/lib/ngx-scrolltop.interfaces.ts)| 'gray' | Material color themes |
|**mode**| 'smart'\|'classic' | 'classic' |**Smart** mode shows button only when you scroll more than two screens down and then you will try to go back to top. **Classic** mode shows button immediately when you scroll at least one screen down. |
76
+
|**backgroundColor**| string |#212121| Background color (you can use all values for `backgroud-color` css property) |
77
+
|**symbolColor**| string | #fafafa | Symbol color (you can use all values for `fill` svg property) |
78
+
|**size**| number | 40 | Button size[in pixels]. _(Symbol will be resized automatically_)|
79
+
|**symbol**| string || You can use utf8 chars for customizing symbol. For example: `↑`|
80
+
|**position**| 'left'\|'right' | 'right' | Left or right, that is the question...|
81
+
|**theme**|[NgxScrolltopTheme](projects/ngx-scrolltop/src/lib/ngx-scrolltop.interfaces.ts)| 'gray' | Material color themes |
70
82
71
83
### Options: Example
72
84
@@ -80,13 +92,14 @@ In **app.component.html** you just need to add your new button. Usually at the e
0 commit comments