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,
45 lines (42 loc) • 1.35 kB
TypeScript
import { PassThrough, PassThroughOption } from 'primeng/api';
/**
* Custom pass-through(pt) options.
* @template I Type of instance.
*
* @see {@link ProgressSpinner.pt}
* @group Interface
*/
interface ProgressSpinnerPassThroughOptions<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<HTMLElement, I>;
/**
* Used to pass attributes to the circle SVG element.
*/
circle?: PassThroughOption<SVGSVGElement, I>;
/**
* Used to pass attributes to the circle track element.
*/
circleTrack?: PassThroughOption<SVGCircleElement, I>;
/**
* Used to pass attributes to the circle range element.
*/
circleRange?: PassThroughOption<SVGCircleElement, I>;
/**
* Used to pass attributes to the value text element.
*/
value?: PassThroughOption<SVGTextElement, I>;
}
/**
* Defines valid pass-through options in ProgressSpinner.
* @see {@link ProgressSpinnerPassThroughOptions}
*
* @template I Type of instance.
*/
type ProgressSpinnerPassThrough<I = unknown> = PassThrough<I, ProgressSpinnerPassThroughOptions<I>>;
export type { ProgressSpinnerPassThrough, ProgressSpinnerPassThroughOptions };