@angular-mdc/web
Version:
18 lines (17 loc) • 802 B
TypeScript
import { ElementRef } from '@angular/core';
import { MDCComponent } from '@angular-mdc/web/base';
import { MdcFloatingLabel } from '@angular-mdc/web/floating-label';
import { MDCNotchedOutlineFoundation } from '@material/notched-outline';
export declare class MdcNotchedOutline extends MDCComponent<MDCNotchedOutlineFoundation> {
elementRef: ElementRef<HTMLElement>;
label?: string;
for?: string;
_notchElement: ElementRef<HTMLElement>;
floatingLabel: MdcFloatingLabel;
getDefaultFoundation(): MDCNotchedOutlineFoundation;
constructor(elementRef: ElementRef<HTMLElement>);
/** Updates classes and styles to open the notch to the specified width. */
notch(notchWidth: number): void;
/** Updates classes and styles to close the notch. */
closeNotch(): void;
}