@liquid-state/docviewer
Liquid State Docviewer Plugin
Install
npm install @liquid-state/docviewer
npx cap sync
API
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
options | { value: string; } |
Returns: Promise<{ value: string; }>
launchNamedDocument(...)
launchNamedDocument(options: { name: string; page_slug?: string; config?: {}; }) => Promise<{ viewer_id: string; }>
options | { name: string; page_slug?: string; config?: {}; } |
Returns: Promise<{ viewer_id: string; }>
launchDocument(...)
launchDocument(options: { url: string; page_slug?: string; config?: {}; }) => Promise<{ viewer_id: string; }>
options | { url: string; page_slug?: string; config?: {}; } |
Returns: Promise<{ viewer_id: string; }>