You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, in theory of course it could, but I'm not sure I'm comfortable encouraging people to use the agent services separately from the transaction flow - an agent service should typically only serve as a bridge between a page transaction and a separate service which does the heavy lifting; the ScrollAgent simply didn't warrant a separate service at the time I was writing it, but the reality is that since it's also handling initial scroll offset and since it might be useful to access it outside the transaction flow as you seem to need, I should probably extract the actual scroll handling into a service which you'd then use and only have the agent forward calls to that service.. and this will require a bit more work than simply removing an underscore from the function name. Can you use the "private" signature in the meantime? It might take a while for me to get around to doing it properly..
Hi, could method
_scrollTo
be public? I want call it from other scripts.page/src/js/ScrollAgent.js
Line 131 in be17289
The text was updated successfully, but these errors were encountered: