File tree Expand file tree Collapse file tree 3 files changed +583
-570
lines changed
src/material-experimental/mdc-progress-bar Expand file tree Collapse file tree 3 files changed +583
-570
lines changed Original file line number Diff line number Diff line change 61
61
"@types/youtube" : " ^0.0.38" ,
62
62
"@webcomponents/custom-elements" : " ^1.1.0" ,
63
63
"core-js" : " ^2.6.9" ,
64
- "material-components-web" : " 8.0.0-canary.85a1fa9ea .0" ,
64
+ "material-components-web" : " 8.0.0-canary.fc0eb5013 .0" ,
65
65
"rxjs" : " ^6.5.3" ,
66
66
"rxjs-tslint-rules" : " ^4.33.1" ,
67
67
"systemjs" : " 0.19.43" ,
Original file line number Diff line number Diff line change @@ -87,6 +87,19 @@ export class MatProgressBar extends _MatProgressBarMixinBase implements AfterVie
87
87
} ,
88
88
setBufferBarStyle : ( styleProperty : string , value : string ) => {
89
89
( this . _bufferBar . style as any ) [ styleProperty ] = value ;
90
+ } ,
91
+ setStyle : ( styleProperty : string , value : string ) => {
92
+ ( this . _rootElement . style as any ) [ styleProperty ] = value ;
93
+ } ,
94
+ getWidth : ( ) => this . _rootElement . offsetWidth ,
95
+ attachResizeObserver : ( callback ) => {
96
+ if ( window . ResizeObserver ) {
97
+ const ro = new ResizeObserver ( callback ) ;
98
+ ro . observe ( this . _rootElement ) ;
99
+ return ro ;
100
+ }
101
+
102
+ return null ;
90
103
}
91
104
} ;
92
105
You can’t perform that action at this time.
0 commit comments