line.d-C-QdueRc.d.ts 1.1 KB

12345678910111213141516171819202122232425
  1. import * as i0 from '@angular/core';
  2. import { QueryList, ElementRef } from '@angular/core';
  3. import { M as MatCommonModule } from './common-module.d-C8xzHJDr.js';
  4. /**
  5. * Shared directive to count lines inside a text area, such as a list item.
  6. * Line elements can be extracted with a @ContentChildren(MatLine) query, then
  7. * counted by checking the query list's length.
  8. */
  9. declare class MatLine {
  10. static ɵfac: i0.ɵɵFactoryDeclaration<MatLine, never>;
  11. static ɵdir: i0.ɵɵDirectiveDeclaration<MatLine, "[mat-line], [matLine]", never, {}, {}, never, never, true, never>;
  12. }
  13. /**
  14. * Helper that takes a query list of lines and sets the correct class on the host.
  15. * @docs-private
  16. */
  17. declare function setLines(lines: QueryList<unknown>, element: ElementRef<HTMLElement>, prefix?: string): void;
  18. declare class MatLineModule {
  19. static ɵfac: i0.ɵɵFactoryDeclaration<MatLineModule, never>;
  20. static ɵmod: i0.ɵɵNgModuleDeclaration<MatLineModule, never, [typeof MatCommonModule, typeof MatLine], [typeof MatLine, typeof MatCommonModule]>;
  21. static ɵinj: i0.ɵɵInjectorDeclaration<MatLineModule>;
  22. }
  23. export { MatLine as M, MatLineModule as a, setLines as s };