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

58 lines (57 loc) 2.33 kB
import { AfterContentInit, QueryList, TemplateRef } from '@angular/core'; import { PrimeTemplate } from 'primeng/api'; import { BaseComponent } from 'primeng/basecomponent'; import { ImageCompareStyle } from './style/imagecomparestyle'; import * as i0 from "@angular/core"; import * as i1 from "primeng/api"; /** * Compare two images side by side with a slider. * @group Components */ export declare class ImageCompare extends BaseComponent implements AfterContentInit { isRTL: boolean; /** * Index of the element in tabbing order. * @defaultValue 0 * @group Props */ tabindex: number | undefined; /** * Defines a string value that labels an interactive element. * @group Props */ ariaLabelledby: string | undefined; /** * Identifier of the underlying input element. * @group Props */ ariaLabel: string | undefined; /** * Template for the left side. * @group Templates */ leftTemplate: TemplateRef<any>; /** * Template for the right side. * @group Templates */ rightTemplate: TemplateRef<any>; _leftTemplate: TemplateRef<any> | undefined; _rightTemplate: TemplateRef<any> | undefined; templates: QueryList<PrimeTemplate> | undefined; _componentStyle: ImageCompareStyle; mutationObserver: MutationObserver; ngOnInit(): void; ngAfterContentInit(): void; onSlide(event: any): void; updateDirection(): void; observeDirectionChanges(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<ImageCompare, never>; static ɵcmp: i0.ɵɵComponentDeclaration<ImageCompare, "p-imageCompare, p-imagecompare, p-image-compare", never, { "tabindex": { "alias": "tabindex"; "required": false; }; "ariaLabelledby": { "alias": "ariaLabelledby"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, {}, ["leftTemplate", "rightTemplate", "templates"], never, true, never>; } export declare class ImageCompareModule { static ɵfac: i0.ɵɵFactoryDeclaration<ImageCompareModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<ImageCompareModule, never, [typeof ImageCompare, typeof i1.SharedModule], [typeof ImageCompare, typeof i1.SharedModule]>; static ɵinj: i0.ɵɵInjectorDeclaration<ImageCompareModule>; }