material-progressloader

material-progressloader A Progress loader using angular material A demo can be found under http://plnkr.co/edit/ztThEGKwJxcbTRZCOBGj?p=preview

Dependencies material-wizard depends on Angular and angular material.

Installation Bower

bower install material-progressloader --save

Usage First you need to add the module dependency

angular.module( 'app', ['ngMaterial','material.progressloader'] ); in your controller you can add somehting like:

$scope.indeterminate = function (){ MtProgressLoader.show();

} and then add the html part

In

MtProgressLoader.show(); You can specify the delay after which the progress loader will showed in millis. Default ist 1 second for example after one second you can:

MtProgressLoader.show(2000); If action finishes before the delay is expired you can call the MtProgressLoader.hide() to avoid showing the loader.

TODO:

Add Deteminate progress Add more control for the directive params mode and diameter and coloring

comments powered by Disqus
This page was last updated over 2 years ago.