Skip to content

Commit cf8b195

Browse files
committed
chore(update): release 0.1.0 🚀
1 parent 658d8c6 commit cf8b195

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-scrolltop",
3-
"version": "0.0.11",
3+
"version": "0.1.0",
44
"description": "Lightweight, Material Design inspired button for scroll-to-top of the page. No dependencies. Pure Angular!",
55
"author": "Lukas Bartak <[email protected]> (https://github.com/bartholomej)",
66
"scripts": {

projects/ngx-scrolltop/README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,13 @@ In **app.component.html** you just need to add your new button. Usually at the e
5858

5959
## Options
6060

61-
| Option | Type | Default | Description |
62-
| --------------- | ------ | ------- | ---------------------------------------------------------------------------- |
63-
| backgroundColor | string | #212121 | Background color (you can use all values for `backgroud-color` css property) |
64-
| symbolColor | string | #fafafa | Symbol color (you can use all values for `fill` svg property) |
65-
| size | number | 40 | Button size(in pixels). Symbol will be resized automatically. |
66-
| symbol | string | | You can use utf8 chars for customizing symbol. For example: `` |
61+
| Option | Type | Default | Description |
62+
| --------------- | ------------------ | --------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
63+
| 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: `` |
6768

6869
### Options: Example
6970

projects/ngx-scrolltop/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-scrolltop",
3-
"version": "0.0.11",
3+
"version": "0.1.0",
44
"description": "Lightweight, Material Design inspired button for scroll-to-top of the page. No dependencies. Pure Angular!",
55
"author": "Lukas Bartak <[email protected]> (https://github.com/bartholomej)",
66
"peerDependencies": {

0 commit comments

Comments
 (0)