UNPKG

primeng

Version:

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

61 lines (58 loc) 1.88 kB
import { PassThroughOption, PassThrough } from 'primeng/api'; /** * Custom pass-through(pt) options. * @template I Type of instance. * * @see {@link Terminal.pt} * @group Interface */ interface TerminalPassThroughOptions<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<HTMLDivElement, I>; /** * Used to pass attributes to the welcome message's DOM element. */ welcomeMessage?: PassThroughOption<HTMLDivElement, I>; /** * Used to pass attributes to the command list's DOM element. */ commandList?: PassThroughOption<HTMLDivElement, I>; /** * Used to pass attributes to the command's DOM element. */ command?: PassThroughOption<HTMLDivElement, I>; /** * Used to pass attributes to the prompt label's DOM element. */ promptLabel?: PassThroughOption<HTMLSpanElement, I>; /** * Used to pass attributes to the command value's DOM element. */ commandValue?: PassThroughOption<HTMLSpanElement, I>; /** * Used to pass attributes to the command response's DOM element. */ commandResponse?: PassThroughOption<HTMLDivElement, I>; /** * Used to pass attributes to the prompt's DOM element. */ prompt?: PassThroughOption<HTMLDivElement, I>; /** * Used to pass attributes to the prompt value's DOM element. */ promptValue?: PassThroughOption<HTMLInputElement, I>; } /** * Defines valid pass-through options in Terminal. * @see {@link TerminalPassThroughOptions} * * @template I Type of instance. */ type TerminalPassThrough<I = unknown> = PassThrough<I, TerminalPassThroughOptions<I>>; export type { TerminalPassThrough, TerminalPassThroughOptions };