Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trigger watch on page load #17

Open
swinston1000 opened this issue Dec 24, 2016 · 1 comment
Open

Trigger watch on page load #17

swinston1000 opened this issue Dec 24, 2016 · 1 comment

Comments

@swinston1000
Copy link

Hi
Thanks for the great code!
Am I right to say that the viewport-watch is first triggered on scroll?
Is there any way to trigger it on page load?

Also, can you please give some examples of Manual watcher toggling with the controllerAs syntax?

Toda Raba!

Steven

@swinston1000
Copy link
Author

for the moment I have resorted to
$window.scollTo(0,1)
in several critical pieces of my code - it's a bit ugly!

Thanks again for the great code, it made my sluggish code super fast.
I'm still learning but at some point I'll try and solve this issue for you and put in a pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant