UNPKG

638 BTypeScriptView Raw
1import { Renderer, ElementRef, QueryList } from '@angular/core';
2/**
3 * Shared directive to count lines inside a text area, such as a list item.
4 * Line elements can be extracted with a @ContentChildren(MdLine) query, then
5 * counted by checking the query list's length.
6 */
7export declare class MdLine {
8}
9export declare class MdLineSetter {
10 private _lines;
11 private _renderer;
12 private _element;
13 constructor(_lines: QueryList<MdLine>, _renderer: Renderer, _element: ElementRef);
14 private _setLineClass(count);
15 private _resetClasses();
16 private _setClass(className, bool);
17}
18export declare class MdLineModule {
19}