Skip to main content
  1. About
  2. For Teams
Asked
Modified yesterday
Viewed 32 times
0

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?

enter image description here

My versions in use:

  • Angular CLI: 13.3.11
  • Node: 16.10.0
  • Package Manager: npm 7.24.0
  • "ngx-scrolltop": "^3.0.0"
5
  • Have you import the module in your application correctly as stated in here? Please provide minimal, reproducible example. Thanks.
    Yong Shun
    –  Yong Shun
    2025-10-13 06:29:23 +00:00
    Commented yesterday
  • @YongShun, according to the link you provided, the library have not a lot of options. I should better use another library. npmjs.com/package/@proangular/ngx-scroll-top
    Zin Win Htet
    –  Zin Win Htet
    2025-10-13 06:47:34 +00:00
    Commented yesterday
  • Since you changed the library, has your issue been solved?
    Yong Shun
    –  Yong Shun
    2025-10-13 07:27:27 +00:00
    Commented yesterday
  • I am not changing the library yet. And I am asked to stop this for now. So the issue is pending.
    Zin Win Htet
    –  Zin Win Htet
    2025-10-13 08:09:46 +00:00
    Commented yesterday
  • Your attached library and version should refer to this package not @proangular/ngx-scroll-top. In conclusion, you are installing/referring the wrong package.
    Yong Shun
    –  Yong Shun
    2025-10-13 08:23:01 +00:00
    Commented yesterday

0

Your Answer

Post as a guest

Required, but never shown

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.