Skip to content

Pass text with start for custome message #37

Open
@Et3rnal

Description

@Et3rnal

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions