You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@ngodings/ngx-scroll-to-top

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngodings/ngx-scroll-to-top

Simple floating button for scroll to top in Angular

15.0.9
latest
Source
npmnpm
Version published
Weekly downloads
6
-25%
Maintainers
1
Weekly downloads
 
Created
Source

@ngodings/ngx-scroll-to-top

Simple floating button for scroll to top in Angular

Demo - Angular v15

https://npm.ngodings.com/packages/ngx-scroll-to-top

Support Me

If you like this package I will be happy that you support me on Buy me a coffee :)
Buy me coffee: https://www.buymeacoffee.com/alidihaw
Indonesia People: https://sociabuzz.com/dihaw

Getting Started

Installing and Importing

Install the package by command:

 npm install @ngodings/ngx-scroll-to-top --save

Import the module

import { NgxScrollToTopModule } from "@ngodings/ngx-scroll-to-top";

@NgModule({
    imports: [
        ...
        NgxScrollToTopModule
    ],
    declarations: [...],
    providers: [...]
})
export class AppModule {}

Usage

Scroll to Top Floating

<ngx-scroll-to-top [bottomPosition]="'100px'" [rightPosition]="'20px'"></ngx-scroll-to-top>

Option (Input & Output)

namedescriptiondefault value
phoneNumberYour scroll-to-top number
messageDefault message send text
bottomPositionConfiguration Position Floating Button for Bottom100px
rightPositionConfiguration Position Floating Button for Right20px

Development

Prepare your environment

  • Install Node.js and NPM
  • Install local dev dependencies: npm install while current directory is this repo

License

MIT @ Ali Abdul Wahid

Keywords

ngx

FAQs

Package last updated on 27 Dec 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts