UNPKG

photoswipe

Version:
16 lines (15 loc) 437 B
export default Placeholder; declare class Placeholder { /** * @param {string | false} imageSrc * @param {HTMLElement} container */ constructor(imageSrc: string | false, container: HTMLElement); element: HTMLDivElement | HTMLImageElement; /** * @param {number} width * @param {number} height */ setDisplayedSize(width: number, height: number): void; destroy(): void; }