yanzhen-design-vue
Version:
7 lines (6 loc) • 381 B
TypeScript
import { default as ViewerJs } from 'viewerjs';
import { default as VueViewer } from 'v-viewer';
export declare function useViewerApi({ options, images }?: Partial<VueViewer.ViewerApiOptions>): {
viewer: import('vue').Ref<ViewerJs, ViewerJs>;
preview: (images: VueViewer.ViewerApiOptions["images"], options?: Partial<VueViewer.ViewerApiOptions["options"]>) => ViewerJs;
};