UNPKG

@angular/material

Version:
31 lines (30 loc) 957 B
/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { Renderer2, ElementRef, QueryList } from '@angular/core'; /** * Shared directive to count lines inside a text area, such as a list item. * Line elements can be extracted with a @ContentChildren(MatLine) query, then * counted by checking the query list's length. */ export declare class MatLine { } /** * Helper that takes a query list of lines and sets the correct class on the host. * @docs-private */ export declare class MatLineSetter { private _lines; private _renderer; private _element; constructor(_lines: QueryList<MatLine>, _renderer: Renderer2, _element: ElementRef); private _setLineClass(count); private _resetClasses(); private _setClass(className, isAdd); } export declare class MatLineModule { }