Interface CommonPageViewerBindings

interface CommonPageViewerBindings {
    containerClass?: string;
    enableSheets?: boolean;
    fitToContainerHeight?: boolean;
    onChange?: ((change: PageDataChange | PageModeChange) => void);
    onDirty?: ((isDirty: boolean) => void);
    pageClass?: string;
    setApi?: ((api: PageViewerApi) => void);
    showToolbar?: boolean;
}

Hierarchy (view full)

Properties

containerClass?: string

Assign the given CSS classes to the page viewer's container. This element encompasses the main document view and the toolbar.

enableSheets?: boolean

Enable the workspace and insight tabs to be rendered.

fitToContainerHeight?: boolean

If true, the page viewer will fill its parent element's height.

onChange?: ((change: PageDataChange | PageModeChange) => void)

A callback that is called when the pageModel's mode or data changes.

onDirty?: ((isDirty: boolean) => void)

A callback that is called when the page viewer dirty state changes.

pageClass?: string

Assign the given CSS classes to the page viewer's main section. This element displays the main document, excluding toolbar.

setApi?: ((api: PageViewerApi) => void)

A callback that is called when the page viewer is initialized. It provides an API that can be used to check the page viewer state and save the document.

showToolbar?: boolean

Show the page toolbar. This contains the toolbar actions associated with the object's entity type.