SDK/REFERENCE
Vue API
Everything exported by @edithpro/vue.
ExportWhat it is
EdithProPluginapp.use(EdithProPlugin, config). Creates one SDK for the whole app and destroys it on unmount.
EdithProProviderComponent. Takes every Configuration option as props.
EdithProButtonButton with a default slot. Prop disabled, emits click. Disabled until ready.
useEdithPro()Composable. Same values as React, but state values are refs.
types.ts
interface EdithProContextValue { isReady: Ref<boolean>; isOpen: Ref<boolean>; isRecording: Ref<boolean>; isPaused: Ref<boolean>; recordingId: Ref<string | null>; duration: Ref<number>; // open, close, record, startCapture, pause, resume, // stop, delete, restart: same as React}
Was this page helpful? @edithpro/sdk 1.0.5 · Edit this page