Copy link to clipboard
Copied
Does Adobe publish a typescript definition for the SDK?
I've been trying to build one myself but its is very difficult to put together, as there is no comprehensive list of properties any particular option takes.
Here is some portions i've completed. You can see how difficult it is to stitch this together.
export namespace AdobePdfSdk {
export interface ViewerConfig {
enableAnnotationAPIs?: boolean;
showDisabledSaveButton?: boolean;
showAnnotationTools?: boolean;
showLeftHandPanel?: boolean;
}
export enum EmbedModes {
'SIZED_CONTAINER' = 'SIZED_CONTAINER',
'IN_LINE' = 'IN_LINE',
}
....
This is the worst part of the closed source project, it is impossible to inspect the code and without comprehensive documentation it is soo hard.
Have something to add?