UNPKG

primeng

Version:

PrimeNG is a premium UI library for Angular featuring a rich set of 90+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with PrimeBlock,

28 lines (25 loc) 803 B
import { PassThrough, PassThroughOption } from 'primeng/api'; type FloatLabelVariant = 'in' | 'over' | 'on'; /** * Custom pass-through(pt) options. * @template I Type of instance. * * @see {@link FloatLabel.pt} * @group Interface */ interface FloatLabelPassThroughOptions<I = unknown> { /** * Used to pass attributes to the host's DOM element. */ host?: PassThroughOption<HTMLElement, I>; /** * Used to pass attributes to the root's DOM element. */ root?: PassThroughOption<HTMLSpanElement, I>; } /** * Custom passthrough attributes for each DOM elements * @group Interface */ type FloatLabelPassThrough<I = unknown> = PassThrough<I, FloatLabelPassThroughOptions<I>>; export type { FloatLabelPassThrough, FloatLabelPassThroughOptions, FloatLabelVariant };