Skip to content

Instantly share code, notes, and snippets.

Created November 28, 2014 03:49
Show Gist options
  • Save anonymous/800fd935f51264f15bc5 to your computer and use it in GitHub Desktop.
Save anonymous/800fd935f51264f15bc5 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
<link rel="stylesheet" href="/bower_components/angular-material/angular-material.css">
<link rel="stylesheet" href="/bower_components/angular-material/themes/red-theme.css">
<link rel="stylesheet" href="style.css">
</head>
<body ng-app="progressCircularDemo1">
<div ng-controller="AppCtrl" layout="column" layout-margin style="padding:25px;">
<h4 style="margin-top:10px">Determinate</h4>
<p>For operations where the percentage of the operation completed can be determined, use a determinate indicator. They give users a quick sense of how long an operation will take.</p>
<div layout="row" layout-sm="column" layout-align="space-around">
<md-progress-circular md-mode="determinate" value="{{determinateValue}}"></md-progress-circular>
</div>
<h4>Indeterminate</h4>
<p>For operations where the user is asked to wait a moment while something finishes up, and it’s not necessary to expose what's happening behind the scenes and how long it will take, use an indeterminate indicator.</p>
<div layout="row" layout-sm="column" layout-align="space-around">
<md-progress-circular md-mode="indeterminate"></md-progress-circular>
</div>
<h4>Theming</h4>
<div layout="row" layout-sm="column" layout-align="space-around">
<md-progress-circular md-theme="red" md-mode="indeterminate"></md-progress-circular>
<md-progress-circular md-theme="lime" md-mode="indeterminate"></md-progress-circular>
<md-progress-circular md-theme="orange" md-mode="indeterminate"></md-progress-circular>
<md-progress-circular md-theme="light-green" md-mode="indeterminate"></md-progress-circular>
<md-progress-circular md-theme="blue" md-mode="indeterminate"></md-progress-circular>
<md-progress-circular md-theme="purple" md-mode="indeterminate"></md-progress-circular>
</div>
</div>
<script src="/bower_components/angular/angular.js"></script>
<script src="/bower_components/angular-aria/angular-aria.js"></script>
<script src="/bower_components/angular-animate/angular-animate.js"></script>
<script src="/bower_components/hammerjs/hammer.js"></script>
<script src="/bower_components/angular-material/angular-material.js"></script>
<script src="script.js"></script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment