Methods
availableFormats
- availableFormats(): Promise<string[]>
readHtml
- readHtml(): Promise<string>
readImage
- readImage(): Promise<string>
readText
- readText(): Promise<string>
writeHtml
- writeHtml(html: string): Promise<void>
writeImage
- writeImage(dataUrl: string): Promise<void>
writeText
- writeText(text: string): Promise<void>
Returns the list available formats (mime types).
For example [ 'text/plain', 'text/html' ]