@ngx-gallery/lightbox
Version:
Angular gallery directive that hooks the lightbox with the images automatically.
14 lines (13 loc) • 393 B
TypeScript
import { InjectionToken } from '@angular/core';
export declare const LIGHTBOX_CONFIG: InjectionToken<LightboxConfig>;
export interface LightboxConfig {
backdropClass?: string;
panelClass?: string;
hasBackdrop?: boolean;
keyboardShortcuts?: boolean;
closeIcon?: string;
role?: string;
ariaLabelledBy?: string;
ariaLabel?: string;
ariaDescribedBy?: string;
}