@crystalui/angular-lightbox
Version:
Angular library for viewing images in a pop-up window with touch screen support.
20 lines (19 loc) • 842 B
TypeScript
import { Injector, ComponentFactoryResolver, ApplicationRef } from '@angular/core';
import { LightboxComponent } from './lightbox.component';
import { Properties, LightboxData } from './interfaces';
export interface AdComponent {
lightboxData: LightboxData;
events: any;
}
export declare class CrystalLightbox {
private componentFactoryResolver;
private appRef;
private injector;
isMobile: boolean;
_defaultProperties: Properties;
constructor(componentFactoryResolver: ComponentFactoryResolver, appRef: ApplicationRef, injector: Injector);
appendComponentToBody(component: any, lightboxData: LightboxData): void;
open(lightboxData: LightboxData): void;
getLightboxComponent(): typeof LightboxComponent;
applyPropertieDefaults(defaultProperties: any, properties: any): any;
}