closePlugin

closePlugin

Close and terminate the plugin.

await framer.closePlugin("Synchronization successful", {
    variant: "success",
})

Throws FramerPluginClosedError, which should be ignored.

Parameters

  • message: string (optional) – Optional message to show in the notification (ignored if options.silent is true)

  • options: ClosePluginOptions (optional) – Options to control the close behaviour

Returns

  • never