UNPKG

@zoom-image/core

Version:
22 lines (19 loc) 689 B
import * as _namnode_store from '@namnode/store'; import { ZoomedImgStatus } from './types.mjs'; type ZoomImageClickOptions = { zoomFactor?: number; zoomImageSource?: string; disableScrollLock?: boolean; zoomImageProps?: { alt?: string; }; }; type ZoomImageClickState = { zoomedImgStatus: ZoomedImgStatus; }; declare function createZoomImageClick(container: HTMLElement, options?: ZoomImageClickOptions): { cleanup: () => void; subscribe: (listener: _namnode_store.StoreListener<ZoomImageClickState>) => () => void; getState: () => ZoomImageClickState; }; export { type ZoomImageClickOptions, type ZoomImageClickState, createZoomImageClick };