Skip to content

two instants of loader #7

@MahmoudFawzy

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?

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