UNPKG

@officesdk/web

Version:

Web JS SDK for the Office SDK

19 lines (18 loc) 550 B
import { createContentFacade } from '../editor/content'; import { createDBTableSelectionFacade } from './selection'; export function createDatabaseTableFacade(client) { var methods = client.methods; var content = createContentFacade(methods); var selection = createDBTableSelectionFacade(methods); return { get activeDBSheet() { return methods.getActiveDBSheet(); }, get selection() { return selection; }, get content() { return content; }, }; }