We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
you cannot decorate a method with @OnPageVisible() and access this from inside that method
this
The text was updated successfully, but these errors were encountered:
@basketofsoftkittens ,
It works for me. Did you import AngularPageVisibilityModule ? Can you give me an example of your source code ?
Sorry, something went wrong.
Same here. I have imported AngularPageVisibilityModule.
export class TestComponent{ ... @OnPageVisible() pageVisible(): void { this.isPageVisible = true; } }
"this" is undefined.
fix bug #4 @OnPageVisible() doesnt work with class instances
548451f
Thanks @basketofsoftkittens , @realgsong !
Fixed in version 4.0.13 for Angular 4 to 5.
No branches or pull requests
you cannot decorate a method with @OnPageVisible() and access
this
from inside that methodThe text was updated successfully, but these errors were encountered: