I am new to Angular and web development. I am trying to set the desired position of my icon to be appear like that:
<ngx-scrolltop [showAtPosition]="300" backgroundColor="#609926">
<i class="bi bi-chevron-double-up"></i>
</ngx-scrolltop>
My problem is showAtPosition
is not valid. showAt
, displayAtYPosition
is not working as well. What's going to be the correct one for that?
My versions in use:
- Angular CLI: 13.3.11
- Node: 16.10.0
- Package Manager: npm 7.24.0
- "ngx-scrolltop": "^3.0.0"