UNPKG

@officesdk/web

Version:

Web JS SDK for the Office SDK

21 lines (20 loc) 586 B
import { createSelectionFacade } from './selection'; import { createPagesFacade } from './pages'; import { createOutlineFacade } from '../editor/outline'; export function createPdfFacade(client) { var methods = client.methods; var pages = createPagesFacade(methods); var selection = createSelectionFacade(methods); var outline = createOutlineFacade(methods); return { get pages() { return pages; }, get selection() { return selection; }, get outline() { return outline; }, }; }