Skip to content

Commit 9fb9c22

Browse files
committed
chore(update): release 0.2.0 🚀
1 parent ba37843 commit 9fb9c22

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
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.1.0",
3+
"version": "0.2.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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ In **app.component.html** you just need to add your new button. Usually at the e
6565
| symbolColor | string | #fafafa | Symbol color (you can use all values for `fill` svg property) |
6666
| size | number | 40 | Button size(in pixels). Symbol will be resized automatically. |
6767
| symbol | string | | You can use utf8 chars for customizing symbol. For example: `` |
68+
| position | 'left', 'right' | 'right' | Left or right, that is the question. |
6869

6970
### Options: Example
7071

@@ -76,6 +77,8 @@ In **app.component.html** you just need to add your new button. Usually at the e
7677
backgroundColor="#33691e"
7778
symbolColor="#fff"
7879
symbol=""
80+
mode="smart"
81+
position="left"
7982
>
8083
</ngx-scrolltop>
8184
```

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