Skip to content

two instants of loader #7

Description

@MahmoudFawzy

I use it on angular js and create class to manage it

 var clsLoader = (function () {
        var mprogress = new Mprogress({
            template: 2
        });
        return {
            show: function () {
                mprogress.start();
            },
            hide: function () {
                mprogress.end();
            }
        }
    })();

when i have two call for function show, and two call for function hide the loader not ended?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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