You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(progressLinear, progressCircular): sync logic, fix linear animations, perf upgrades
synchronize progressLinear with similar logic used in progressCircular.
* improve animation performances
* watch md-mode for changes
* refactor animation SCSS
* enable hiding and no-animations with undefined/empty md-mode attributes
* for both indicators, use `display:inline-block;`
* update demos with enable switch
* fix query mode
* update Select to use enhanced progressCircular component
* fix autocomplete styling of progress-linear.md-mode-indeterminate
* auto-inject md-mode attribute if missing
* use 'determinate' if value attribute is defined
* otherwise use 'indeterminate'
* $log.debug() notify user (via $log.debug) of injection
* add API doc details regarding md-mode auto-injection
* fix tests
BREAKING-CHANGES
Before:
```css
md-progress-linear {
display: block;
}
md-progress-circular {
// display not set
// position not set
}
```
```css
md-progress-linear {
display: block;
position: relative;
}
md-progress-circular {
display: block;
position: relative;
}
```
Fixesangular#4421. Fixesangular#4409. Fixesangular#2540. Fixesangular#2364. Fixesangular#1926. Fixesangular#3802. Closesangular#4454.
<divng-controller="AppCtrl as vm" layout="column" layout-marginstyle="padding:25px;">
2
2
3
-
<h4style="margin-top:10px">Determinate</h4>
4
-
<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>
<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>
0 commit comments