Created
April 7, 2025 19:45
-
-
Save rustyvz/29060f31a6aa53e89432d9c8ca9ea7a4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.showMainSpinner(this.l('Uploading')); | |
this.hideMainSpinner(); | |
// -- or -- | |
private ngxSpinnerTextService: NgxSpinnerTextService; | |
constructor( | |
injector: Injector, | |
private _spinnerService: NgxSpinnerService) | |
{ | |
this.ngxSpinnerTextService = injector.get(NgxSpinnerTextService) | |
} | |
this.ngxSpinnerTextService.setText(spinnerTexts.processingStep); | |
this._spinnerService.show(); | |
this.ngxSpinnerTextService.setText(spinnerTexts.default); | |
this._spinnerService.hide(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment