-
Notifications
You must be signed in to change notification settings - Fork 103
Show/Hide without promise #71
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
Comments
I'm interested in this aswell |
up |
You can just assign a boolean variable without using promises or observables in order to manually display the overlay. [ngBusy]="{busy: showBusy, message: 'Loading...', backdrop: true, delay: 0, minDuration: 1000}" ngOnInit() { And just display it manually. someMethod() { |
@Sn0oze I don't know if we just never tried it because the docs say Promise or Observable<>, or a change since before we started using it allowed it, but this is exactly how we wanted to use the library. before we had this awkward:
but looks like we can just use the
and all we have to do is swap the component's |
Is there a simple way to show/hide the loading component without assigning it to a promise?
I mean just by Showing/Hiding it directly via a component?
The text was updated successfully, but these errors were encountered: