diff --git a/bundle/src/components/linear-progress/mdc.linear-progress.directive.ts b/bundle/src/components/linear-progress/mdc.linear-progress.directive.ts index a554c00..38eea68 100644 --- a/bundle/src/components/linear-progress/mdc.linear-progress.directive.ts +++ b/bundle/src/components/linear-progress/mdc.linear-progress.directive.ts @@ -104,11 +104,11 @@ export class MdcLinearProgressDirective implements AfterContentInit, OnDestroy { * that the exact progress on a measured task is not known. */ @Input() @HostBinding('class.' + CLASS_INDETERMINATE) - get isIndeterminate() { + get indeterminate() { return this._indeterminate; } - set isIndeterminate(value: any) { + set indeterminate(value: any) { let newValue = asBoolean(value); if (newValue !== this._indeterminate) { this._indeterminate = newValue; @@ -126,11 +126,11 @@ export class MdcLinearProgressDirective implements AfterContentInit, OnDestroy { * Reverses the direction of the linear progress indicator. */ @Input() @HostBinding('class.' + CLASS_REVERSED) - get isReversed() { + get reversed() { return this._reverse; } - set isReversed(value: any) { + set reversed(value: any) { this._reverse = asBoolean(value); if (this._initialized) this.foundation.setReverse(this._reverse); @@ -169,11 +169,11 @@ export class MdcLinearProgressDirective implements AfterContentInit, OnDestroy { * when set to false this opens (animates into view) the progress bar. */ @Input() - get isClosed() { + get closed() { return this._closed; } - set isClosed(value: any) { + set closed(value: any) { let newValue = asBoolean(value); if (newValue !== this._closed) { this._closed = newValue; diff --git a/site/src/app/components/snippets/directives/snippet.linear-progress.component.html b/site/src/app/components/snippets/directives/snippet.linear-progress.component.html index 9085fdd..efc989b 100644 --- a/site/src/app/components/snippets/directives/snippet.linear-progress.component.html +++ b/site/src/app/components/snippets/directives/snippet.linear-progress.component.html @@ -1,6 +1,6 @@
+ [indeterminate]="indeterminate" [reversed]="reversed" [closed]="closed">

Customize progress: