7474//!
7575//! ## Child webviews
7676//!
77- //! You can use [`WebView::new_as_child`] or [`WebViewBuilder::new_as_child `] to create the webview as a child inside another window. This is supported on
77+ //! You can use [`WebView::new_as_child`] or [`WebViewBuilder::build_as_child `] to create the webview as a child inside another window. This is supported on
7878//! macOS, Windows and Linux (X11 Only).
7979//!
8080//! ```no_run
@@ -737,7 +737,7 @@ pub struct WebViewAttributes<'a> {
737737 /// ## Platform-specific:
738738 ///
739739 /// - Windows: Setting to `false` does nothing on WebView2 Runtime version before 92.0.902.0,
740- /// see https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10902-prerelease
740+ /// see < https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10902-prerelease>
741741 ///
742742 /// - **Android / iOS:** Unsupported.
743743 pub back_forward_navigation_gestures : bool ,
@@ -751,7 +751,7 @@ pub struct WebViewAttributes<'a> {
751751 /// ## Platform-specific:
752752 ///
753753 /// - **Windows**: Requires WebView2 Runtime version 101.0.1210.39 or higher, does nothing on older versions,
754- /// see https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10121039
754+ /// see < https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10121039>
755755 /// - **Android:** Unsupported yet.
756756 /// - **macOS / iOS**: Uses the nonPersistent DataStore.
757757 pub incognito : bool ,
@@ -792,7 +792,7 @@ pub struct WebViewAttributes<'a> {
792792 /// - **iOS**: Supported since version 17.0+.
793793 /// - **macOS**: Supported since version 14.0+.
794794 ///
795- /// see https://github.com/tauri-apps/tauri/issues/5250#issuecomment-2569380578
795+ /// see < https://github.com/tauri-apps/tauri/issues/5250#issuecomment-2569380578>
796796 pub background_throttling : Option < BackgroundThrottlingPolicy > ,
797797
798798 /// Whether JavaScript should be disabled.
@@ -1239,7 +1239,7 @@ impl<'a> WebViewBuilder<'a> {
12391239 /// ## Platform-specific
12401240 ///
12411241 /// - Windows: Requires WebView2 Runtime version 86.0.616.0 or higher, does nothing on older versions,
1242- /// see https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10790-prerelease
1242+ /// see < https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10790-prerelease>
12431243 pub fn with_user_agent ( mut self , user_agent : impl Into < String > ) -> Self {
12441244 self . attrs . user_agent = Some ( user_agent. into ( ) ) ;
12451245 self
@@ -1266,7 +1266,7 @@ impl<'a> WebViewBuilder<'a> {
12661266 /// ## Platform-specific
12671267 ///
12681268 /// - Windows: Setting to `false` can't disable pinch zoom on WebView2 Runtime version before 91.0.865.0,
1269- /// see https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10865-prerelease
1269+ /// see < https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10865-prerelease>
12701270 ///
12711271 /// - **macOS / Linux / Android / iOS**: Unsupported
12721272 pub fn with_hotkeys_zoom ( mut self , zoom : bool ) -> Self {
@@ -1373,7 +1373,7 @@ impl<'a> WebViewBuilder<'a> {
13731373 /// ## Platform-specific:
13741374 ///
13751375 /// - Windows: Requires WebView2 Runtime version 101.0.1210.39 or higher, does nothing on older versions,
1376- /// see https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10121039
1376+ /// see < https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10121039>
13771377 /// - **Android:** Unsupported yet.
13781378 pub fn with_incognito ( mut self , incognito : bool ) -> Self {
13791379 self . attrs . incognito = incognito;
@@ -1430,7 +1430,7 @@ impl<'a> WebViewBuilder<'a> {
14301430 /// - **iOS**: Supported since version 17.0+.
14311431 /// - **macOS**: Supported since version 14.0+.
14321432 ///
1433- /// see https://github.com/tauri-apps/tauri/issues/5250#issuecomment-2569380578
1433+ /// see < https://github.com/tauri-apps/tauri/issues/5250#issuecomment-2569380578>
14341434 pub fn with_background_throttling ( mut self , policy : BackgroundThrottlingPolicy ) -> Self {
14351435 self . attrs . background_throttling = Some ( policy) ;
14361436 self
@@ -1721,7 +1721,7 @@ pub trait WebViewBuilderExtWindows {
17211721 ///
17221722 /// ## Warning
17231723 ///
1724- /// - Webview instances with different browser arguments must also have different [data directories](struct. WebContext.html#method. new).
1724+ /// - Webview instances with different browser arguments must also have different [data directories](WebContext:: new).
17251725 /// - By default wry passes `--disable-features=msWebOOUI,msPdfOOUI,msSmartScreenProtection`
17261726 /// `--autoplay-policy=no-user-gesture-required` if autoplay is enabled
17271727 /// and `--proxy-server=<scheme>://<host>:<port>` if a proxy is set.
@@ -1733,7 +1733,7 @@ pub trait WebViewBuilderExtWindows {
17331733 /// The default value is `true`. See the following link to know more details.
17341734 ///
17351735 /// Setting to `false` does nothing on WebView2 Runtime version before 92.0.902.0,
1736- /// see https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10824-prerelease
1736+ /// see < https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10824-prerelease>
17371737 ///
17381738 /// <https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/winrt/microsoft_web_webview2_core/corewebview2settings#arebrowseracceleratorkeysenabled>
17391739 fn with_browser_accelerator_keys ( self , enabled : bool ) -> Self ;
@@ -1751,7 +1751,7 @@ pub trait WebViewBuilderExtWindows {
17511751 /// Defaults to [`Theme::Auto`] which will follow the OS defaults.
17521752 ///
17531753 /// Requires WebView2 Runtime version 101.0.1210.39 or higher, does nothing on older versions,
1754- /// see https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10121039
1754+ /// see < https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10121039>
17551755 fn with_theme ( self , theme : Theme ) -> Self ;
17561756
17571757 /// Determines whether the custom protocols should use `https://<scheme>.path/to/page` instead of the default `http://<scheme>.path/to/page`.
@@ -1765,18 +1765,26 @@ pub trait WebViewBuilderExtWindows {
17651765 /// Specifies the native scrollbar style to use with webview2.
17661766 /// CSS styles that modify the scrollbar are applied on top of the native appearance configured here.
17671767 ///
1768- /// Defaults to [`ScrollbarStyle ::Default`] which is the browser default used by Microsoft Edge.
1768+ /// Defaults to [`ScrollBarStyle ::Default`] which is the browser default used by Microsoft Edge.
17691769 ///
17701770 /// Requires WebView2 Runtime version 125.0.2535.41 or higher, does nothing on older versions,
1771- /// see https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/?tabs=dotnetcsharp#10253541
1771+ /// see <https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/?tabs=dotnetcsharp#10253541>
1772+ ///
1773+ /// ## Warning
1774+ ///
1775+ /// Webview instances with different scroll bar styles must also have different [data directories](WebContext::new).
17721776 fn with_scroll_bar_style ( self , style : ScrollBarStyle ) -> Self ;
17731777
17741778 /// Determines whether the ability to install and enable extensions is enabled.
17751779 ///
17761780 /// By default, extensions are disabled.
17771781 ///
1778- /// Requires WebView2 Runtime version 1.0.2210.55 or higher, does nothing on older versions,
1779- /// see https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10221055
1782+ /// Requires WebView2 Runtime version 120.0.2210.55 or higher, does nothing on older versions,
1783+ /// see <https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10221055>
1784+ ///
1785+ /// ## Warning
1786+ ///
1787+ /// Webview instances with different browser extensions enabled settings must also have different [data directories](WebContext::new).
17801788 fn with_browser_extensions_enabled ( self , enabled : bool ) -> Self ;
17811789
17821790 /// Set the path from which to load extensions from. Extensions stored in this path should be unpacked.
@@ -2286,7 +2294,7 @@ pub trait WebViewExtWindows {
22862294 /// Changes the webview2 theme.
22872295 ///
22882296 /// Requires WebView2 Runtime version 101.0.1210.39 or higher, returns error on older versions,
2289- /// see https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10121039
2297+ /// see < https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/archive?tabs=dotnetcsharp#10121039>
22902298 fn set_theme ( & self , theme : Theme ) -> Result < ( ) > ;
22912299
22922300 /// Sets the [memory usage target level][1].
0 commit comments