
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
github.com/proangular/ngx-scroll-top
Advanced tools
Configurable, lightweight back to top button for Angular projects.
[ Index ]
Live demo here: https://www.ProAngular.com/demos/ngx-scroll-top
[ Index ]
Using Node Package Manager (NPM) in a new terminal window run the following commands to install the required dependencies.
Angular Material
More information on theming Angular Material: https://material.angular.io/guide/theming
ng add @angular/material
ng add @proangular/ngx-scroll-top@latest
or
npm install @proangular/ngx-scroll-top --save
[ Index ]
Default (blue button with white icon)
<ngx-scroll-top></ngx-scroll-top>
Customization with optional inputs and icon
<ngx-scroll-top
backgroundColor="#0D58C0"
[bottomOffset]="footer.height"
[displayAtYPosition]="1000"
fontColor="#FFFAFA"
fontSize="2rem"
height="3rem"
position="left"
[zIndex]="1"
width="3rem"
>⇮</ngx-scroll-top
>
[ Index ]
| Input | Value Typing | Default Value | Description |
|---|---|---|---|
| backgroundColor | string | '#0D58C0' (dark-blue) | Background color of the back to top button. Define any 'x' css property available for 'background-color: x'. |
| bottomOffset | string | number | '0px' | Offset px from bottom of page when scrolled to bottom. For example this can be used to make sure the back to top button never overlaps a footer. |
| displayAtYPosition | string | number | '420px' | The back to top button will not be displayed until the user scrolls to the provided Y (vertical px) coordinate on the page. |
| fontColor | string | '#FFFFFF' (white) | The font color for the nested content within the back to top button. Define any 'x' css property available for 'color: x'. |
| fontSize | string | '16px' | The font size for the nested content within the back to top button. Define any 'x' css property available for 'font-size: x'. |
| height | string | '40px' | Height of back to top button in string px format. |
| position | 'left' | 'right' | 'right' | Position on-screen where the back to top button is displayed. |
| width | string | '40px' | Width of back to top button in string px format. |
| zIndex | number | 999 | Style the z-index for the back to top button as needed for correct layer height adjustment. This can be useful when working with sticky headers. |
[ Index ]
| Angular version | @proangular/ngx-scroll-top | Install |
|---|---|---|
| v20 | v20.0.0 | ng add @proangular/ngx-scroll-top@^20.0.0 |
| v19 | v19.0.0 | ng add @proangular/ngx-scroll-top@^19.0.0 |
| v18 | ------ | Untested |
| v17 | ------ | Untested |
| v16 | ------ | Untested |
| v15 | ------ | Untested |
| v14 | v1.x.x | ng add @proangular/ngx-scroll-top@1.1.8 |
| v13 | v1.x.x | ng add @proangular/ngx-scroll-top@1.1.8 |
| v12 | v1.x.x | ng add @proangular/ngx-scroll-top@1.1.8 |
[ Index ]
Please submit all issues, and feature requests here: https://github.com/ProAngular/ngx-scroll-top/issues
Contribution:
git clone https://github.com/ProAngular/ngx-scroll-top.gitgit checkout -b username/feature-or-bug-descriptionpackage.json and package-lock.json,
commit all changes, push.git add -Agit commit -m "My commit message"git push origin username/feature-or-bug-descriptionThank you for any and all contributions!
This project is licensed under the MIT License. See the LICENSE file for the pertaining license text.
SPDX-License-Identifier: MIT
[ Index ]
Thank you to the entire Angular team and community for such a great framework to build upon. If you have any questions, please let me know by opening an issue here.
| Type | Info |
|---|---|
| webmaster@codytolene.com | |
| https://github.com/sponsors/CodyTolene | |
| https://www.buymeacoffee.com/codytolene | |
| bc1qfx3lvspkj0q077u3gnrnxqkqwyvcku2nml86wmudy7yf2u8edmqq0a5vnt |
Fin. Happy programming friend!
Cody Tolene
FAQs
Unknown package
Did you know?

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.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.