1 | /**
|
---|
2 | * @license
|
---|
3 | * Copyright Google LLC All Rights Reserved.
|
---|
4 | *
|
---|
5 | * Use of this source code is governed by an MIT-style license that can be
|
---|
6 | * found in the LICENSE file at https://angular.io/license
|
---|
7 | */
|
---|
8 | import { ElementRef, QueryList } from '@angular/core';
|
---|
9 | /**
|
---|
10 | * Shared directive to count lines inside a text area, such as a list item.
|
---|
11 | * Line elements can be extracted with a @ContentChildren(MatLine) query, then
|
---|
12 | * counted by checking the query list's length.
|
---|
13 | */
|
---|
14 | import * as ɵngcc0 from '@angular/core';
|
---|
15 | import * as ɵngcc1 from '../common-behaviors/common-module';
|
---|
16 | export declare class MatLine {
|
---|
17 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<MatLine, never>;
|
---|
18 | static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration<MatLine, "[mat-line], [matLine]", never, {}, {}, never>;
|
---|
19 | }
|
---|
20 | /**
|
---|
21 | * Helper that takes a query list of lines and sets the correct class on the host.
|
---|
22 | * @docs-private
|
---|
23 | */
|
---|
24 | export declare function setLines(lines: QueryList<unknown>, element: ElementRef<HTMLElement>, prefix?: string): void;
|
---|
25 | export declare class MatLineModule {
|
---|
26 | static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<MatLineModule, never>;
|
---|
27 | static ɵmod: ɵngcc0.ɵɵNgModuleDeclaration<MatLineModule, [typeof MatLine], [typeof ɵngcc1.MatCommonModule], [typeof MatLine, typeof ɵngcc1.MatCommonModule]>;
|
---|
28 | static ɵinj: ɵngcc0.ɵɵInjectorDeclaration<MatLineModule>;
|
---|
29 | }
|
---|
30 |
|
---|
31 | //# sourceMappingURL=line.d.ts.map |
---|