Skip to content

Commit 96a36e3

Browse files
committed
chore(update): release 0.3.0 🚀
1 parent 7a94f36 commit 96a36e3

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
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.2.0",
3+
"version": "0.3.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: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,15 @@ 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-
| 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. |
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: `` |
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 |
6970

7071
### Options: Example
7172

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.2.0",
3+
"version": "0.3.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)