import { TemplateRef } from "@angular/core"; import { PassThrough, PassThroughOption } from "primeng/api"; /** * Custom pass-through(pt) options. * @template I Type of instance. * * @see {@link ImageCompare.pt} * @group Interface */ export interface ImageComparePassThroughOptions { /** * Used to pass attributes to the root's DOM element. */ root?: PassThroughOption; /** * Used to pass attributes to the slider's DOM element. */ slider?: PassThroughOption; } /** * Defines valid pass-through options in ImageCompare. * @see {@link ImageComparePassThroughOptions} * * @template I Type of instance. */ export type ImageComparePassThrough = PassThrough>; /** * Defines valid templates in ImageCompare. * @group Templates */ export interface ImageCompareTemplates { /** * Custom left side template. */ left(): TemplateRef; /** * Custom right side template. */ right(): TemplateRef; }