79089690

Date: 2024-10-15 11:24:24
Score: 4
Natty:
Report link

If I understand the question correctly, you can detect the scroll event (the browser's scroller or even a specific element's scroller) and apply some logic to turn a flag on and off (eg, borderVisible - and for example turn it on when the "scrollY" exceeds a certain threshold) and bind this flag to your html wherein you can apply some ngStyle to do a dynamic styling. Does this answer your question?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abdullah Njoum