Companion

Set the window and webview background color.

Platform-specific:

  • Android / iOS: Unsupported for the window layer.

  • macOS / iOS: Not implemented for the webview layer.

  • Windows:

  • alpha channel is ignored for the window layer.

  • On Windows 7, alpha channel is ignored for the webview layer.

  • On Windows 8 and newer, if alpha channel is not 0, it will be ignored.

Since

2.1.0

Functions

Link copied to clipboard
fun getAll(): ERROR CLASS: Symbol not found for js.promise.Promise<ERROR CLASS: Symbol not found for js.array.ReadonlyArray<tauri/apps/api/WebviewWindow>>

Gets a list of instances of Webview for all available webviews.

Link copied to clipboard
fun getByLabel(label: String): ERROR CLASS: Symbol not found for js.promise.Promise<tauri/apps/api/WebviewWindow?>

Gets the Webview for the webview associated with the given label.

Link copied to clipboard

Get an instance of Webview for the current webview.