Skip to main content
The toast object is an instance accessible from the main MuPDFWebViewer instance as follows:
This assumes you have returned your instance name as webViewer from the initMuPDFWebViewer() promise!

toast

The toast object has the following methods:

show

Shows a toast message.

Parameters

object
required
Configuration object.

Returns

Promise<undefined>
required
A Promise.
Example