Add WebviewWindow to code docs and template (#1144)

* Add WebviewWindow to code docs

* Shorten the WebView Name

* Apply suggestions from code review

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
This commit is contained in:
Naman Garg
2024-04-09 11:56:00 -03:00
committed by GitHub
co-authored by Lucas Fernandes Nogueira
parent 7e2fcc5e74
commit 8d7689f6f9
9 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ use desktop::Clipboard;
#[cfg(mobile)]
use mobile::Clipboard;
/// Extensions to [`tauri::App`], [`tauri::AppHandle`] and [`tauri::Window`] to access the clipboard APIs.
/// Extensions to [`tauri::App`], [`tauri::AppHandle`], [`tauri::WebviewWindow`], [`tauri::Webview`] and [`tauri::Window`] to access the clipboard APIs.
pub trait ClipboardExt<R: Runtime> {
fn clipboard(&self) -> &Clipboard<R>;
}