UNPKG

images-viewer-vue3

Version:
31 lines (30 loc) 1.12 kB
export declare const useToolbar: (images: string[], cb: Function) => { updateImageSrc: import('vue').Ref<string>; isMultipleImage: import('vue').Ref<boolean>; onWheelListener: (evt: WheelEvent) => void; imageInfo: import('vue').Ref<{ naturalRatio: string; renderRatio: string; size: string; fixedAspectRatio: string; }>; nextImage: () => void; previousImage: () => void; destroyedExe: () => void; resetStyle: () => void; downloads: (evt: Event) => void; loadImageErrorText: import('vue').Ref<string>; loading: import('vue').Ref<boolean>; errorImage: (evt: Event) => void; loadImage: (evt: Event) => void; imageRef: import('vue').Ref<HTMLImageElement | null>; imageVieverWidgetRef: import('vue').Ref<HTMLElement | null>; inevrtY: (evt?: Event) => void; inevrtX: (evt?: Event) => void; zoomIn: (evt?: Event) => void; zoomOut: (evt?: Event) => void; clockwise: (evt?: Event) => void; counterclockwise: (evt?: Event) => void; currentIndex: import('vue').Ref<number>; fullScreen: () => void; };