diff --git a/README.md b/README.md index 9591057..b786d22 100644 --- a/README.md +++ b/README.md @@ -25,29 +25,17 @@ Configurable, lightweight back to top button for Angular projects.

-To run this demo: -* `git clone https://github.com/ProAngular/ngx-scroll-top.git` -* `cd ngx-scroll-top` -* `npm install` -* `npm run start` +# Installation -# Installation and importing - -## Installation - -Angular ```bash ng add @proangular/ngx-scroll-top@latest ``` - -Direct +or ```bash npm install @proangular/ngx-scroll-top --save ``` -## Import - -Import package into the module of your choice +Import `NgxScrollTopModule` where needed ```diff ... + import { NgxScrollTopModule } from '@proangular/ngx-scroll-top'; @@ -63,14 +51,14 @@ Import package into the module of your choice export class AppModule { } ``` -# Usage and Examples +# Usage -Default use (blue button with white icon) +Default (blue button with white icon) ```html ``` -Example with optional inputs +Customization with optional inputs and icon ```html ", "homepage": "https://www.proangular.com",