Skip to content

Commit

Permalink
address feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba committed May 7, 2020
1 parent f634708 commit d2fc2a3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/material-experimental/mdc-list/list-base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,18 @@ import {Subscription} from 'rxjs';
import {startWith} from 'rxjs/operators';

@Directive()
export class MatListBase {
/** @docs-private */
export abstract class MatListBase {
// @HostBinding is used in the class as it is expected to be extended. Since @Component decorator
// metadata is not inherited by child classes, instead the host binding data is defined in a way
// that can be inherited.
// tslint:disable-next-line:no-host-decorator-in-concrete
@HostBinding('class.mdc-list--non-interactive')
_isNonInteractive: boolean;
_isNonInteractive: boolean = false;
}

@Directive()
/** @docs-private */
export abstract class MatListItemBase implements AfterContentInit, OnDestroy, RippleTarget {
lines: QueryList<ElementRef<Element>>;

Expand Down

0 comments on commit d2fc2a3

Please sign in to comment.