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

How to show only circular progress and hide linear progress #5

Open
parthmehta opened this issue Jan 28, 2017 · 1 comment
Open

How to show only circular progress and hide linear progress #5

parthmehta opened this issue Jan 28, 2017 · 1 comment

Comments

@parthmehta
Copy link

With current options, it shows only linear progress, and its not showing circular progress to me. Can you please suggest how to show circular progress of material design.

@braytonstafford
Copy link

braytonstafford commented Aug 4, 2017

In the directive (inside angular-md-pull-to-refresh.js) change the template to be md-progress-circular instead of md-progress-linear. I also wrapped mine in a <div> to add some padding and center it.

CHANGE THIS:

<md-progress-linear md-mode="indeterminate" class="md-accent ng-hide im-pull-to-refresh-progress-bar" ng-show="pullToRefreshActive"></md-progress-linear><ng-transclude></ng-transclude>

TO THIS:

<div layout="row" layout-align="center" layout-padding><md-progress-circular md-mode="indeterminate" class="md-accent ng-hide im-pull-to-refresh-progress-bar" ng-show="pullToRefreshActive"></md-progress-circular></div><ng-transclude></ng-transclude>

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

2 participants