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

Pass text with start for custome message #37

Open
Et3rnal opened this issue Dec 18, 2020 · 0 comments
Open

Pass text with start for custome message #37

Et3rnal opened this issue Dec 18, 2020 · 0 comments

Comments

@Et3rnal
Copy link

Et3rnal commented Dec 18, 2020

First of all thanks for the great work, I don't have any issues with it.

I would like to suggest a small feature:
If the start() can take a second optional string parameter loaderMessage which can be used within the loader

What I'm thinking of is
this.loader.start('fullPageLoader', 'Loading X Please wait this might take few minutes');

then
<ngx-smart-loader identifier="fullPageLoader"> <div class="oLoader fullOverLay"> <div class="spinSpacer"></div> <div id="nb-global-spinner" class="LoaderIcon"> </div> <div class="loaderTxt">{{loaderMessage}}</div> </div> </ngx-smart-loader>

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