UNPKG

@nativescript/pdf

Version:

A NativeScript plugin to display PDF files on iOS and Android

18 lines (17 loc) 694 B
import { Folder, Property, View } from '@nativescript/core'; export declare abstract class PDFViewCommon extends View { static loadEvent: string; /** * Render annotations (such as comments, colors or forms) on Android */ enableAnnotationRendering: boolean; /** * the source url of the PDF to show */ src: string; static notifyOfEvent(eventName: string, pdfViewRef: WeakRef<any>): void; abstract loadPDF(src: string): any; protected createTempFile(base64data?: any): Promise<Folder>; } export declare const enableAnnotationRenderingProperty: Property<PDFViewCommon, boolean>; export declare const srcProperty: Property<PDFViewCommon, string>;