import { TemplateRef } from '@angular/core'; import { PassThroughOption, PassThrough } from 'primeng/api'; /** * Custom pass-through(pt) options. * @template I Type of instance. * * @see {@link ScrollPanel.pt} * @group Interface */ 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. */ type ScrollPanelPassThrough = PassThrough>; /** * Defines valid templates in ScrollPanel. * @group Templates */ interface ScrollPanelTemplates { /** * Custom content template. */ content(): TemplateRef; } export type { ScrollPanelPassThrough, ScrollPanelPassThroughOptions, ScrollPanelTemplates };