Revert linear progress adapter change

This commit is contained in:
Liz Mitchell 2019-11-26 15:07:39 -08:00
parent 147d9789d9
commit 20f6eaf330

View File

@ -92,6 +92,12 @@ export class LinearProgressBase extends BaseElement {
forceLayout: () => this.mdcRoot.offsetWidth,
getPrimaryBar: () => this.primaryBar,
getBuffer: () => this.bufferElement,
removeAttribute: (name: string) => {
this.mdcRoot.removeAttribute(name);
},
setAttribute: (name: string, value: string) => {
this.mdcRoot.setAttribute(name, value);
},
setStyle: (el: HTMLElement, property: string, value: string) => {
// TODO(aomarks) Consider moving this type to the
// MDCLinearProgressAdapter parameter type, but note that the "-webkit"