vue-reader
Version:
An vue-reader for vue powered by EpubJS
60 lines • 1.8 kB
TypeScript
import './style.css';
import { type PropType } from 'vue-demi';
import { Rendition, Book } from 'epubjs';
interface Props {
url: any;
title?: string;
showToc?: boolean;
tocChanged?: (toc: Book['navigation']['toc']) => void;
getRendition?: (rendition: Rendition) => void;
}
declare const _default: import("vue-demi").DefineComponent<import("vue-demi").ExtractPropTypes<{
url: {
required: true;
};
title: StringConstructor;
showToc: {
type: BooleanConstructor;
default: boolean;
};
tocChanged: {
type: PropType<Props["tocChanged"]>;
};
getRendition: {
type: PropType<Props["getRendition"]>;
};
backgroundColor: {
type: StringConstructor;
default: string;
};
}>, () => import("vue-demi").VNode<import("vue-demi").RendererNode, import("vue-demi").RendererElement, {
[key: string]: any;
}>, {}, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, {
progress(percentage: number): true;
}, string, import("vue-demi").PublicProps, Readonly<import("vue-demi").ExtractPropTypes<{
url: {
required: true;
};
title: StringConstructor;
showToc: {
type: BooleanConstructor;
default: boolean;
};
tocChanged: {
type: PropType<Props["tocChanged"]>;
};
getRendition: {
type: PropType<Props["getRendition"]>;
};
backgroundColor: {
type: StringConstructor;
default: string;
};
}>> & Readonly<{
onProgress?: ((percentage: number) => any) | undefined;
}>, {
showToc: boolean;
backgroundColor: string;
}, {}, {}, {}, string, import("vue-demi").ComponentProvideOptions, true, {}, any>;
export default _default;
//# sourceMappingURL=VueReader.d.ts.map