UNPKG

@aurelia-mdc-web/form-field

Version:

Wrapper for Material Components Web Form Field

22 lines (21 loc) 742 B
import { MDCFormFieldFoundation } from '@material/form-field'; import { MdcComponent } from '@aurelia-mdc-web/base'; import { MdcRipple } from '@aurelia-mdc-web/ripple'; /** * @selector mdc-form-field */ export declare class MdcFormField extends MdcComponent<MDCFormFieldFoundation> { cssClasses: { ROOT: string; }; ripple?: MdcRipple; label?: HTMLLabelElement | null; /** Force label text to stay on a single line and ellipse the overflow text */ nowrap: boolean; /** Position the input after the label */ alignEnd: boolean; /** Distributes space between label text and control */ spaceBetween: boolean; initialise(): Promise<void>; getDefaultFoundation(): MDCFormFieldFoundation; }