As far as I know, the slider is outside the DOM, so it can only be read through the above 2 methods.
Or am I mistaken and does Angular have its gadgets for this case?
As far as I know, the slider is outside the DOM, so it can only be read through the above 2 methods.
Or am I mistaken and does Angular have its gadgets for this case?
Source: https://ru.stackoverflow.com/questions/729031/
All Articles
window.pageYoffsetin a component at any time. If you need it in a template - for example, make a function that returns it and use it<div>{{getYoffset()}}</div>- Dimanoid