import { TemplateRef } from "@angular/core"; import { PassThrough, PassThroughOption } from "primeng/api"; /** * Defines the scroll orientation for ScrollPanel component. * @group Types */ export type ScrollPanelOrientation = 'vertical' | 'horizontal'; /** * Custom pass-through(pt) options. * @template I Type of instance. * * @see {@link ScrollPanel.pt} * @group Interface */ export interface ScrollPanelPassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ root?: PassThroughOption; /** * Used to pass attributes to the content container's DOM element. */ contentContainer?: PassThroughOption; /** * Used to pass attributes to the content's DOM element. */ content?: PassThroughOption; /** * Used to pass attributes to the horizontal panel's DOM element. */ barX?: PassThroughOption; /** * Used to pass attributes to the vertical panel's DOM element. */ barY?: PassThroughOption; } /** * Defines valid pass-through options in ScrollPanel component. * @see {@link ScrollPanelPassThroughOptions} * * @template I Type of instance. */ export type ScrollPanelPassThrough = PassThrough>; /** * Defines valid templates in ScrollPanel. * @group Templates */ export interface ScrollPanelTemplates { /** * Custom content template. */ content(): TemplateRef; }