document default behavior

This commit is contained in:
amrbashir 2024-10-23 07:02:58 +03:00
parent 5a6d5588c3
commit b48b75217e
No known key found for this signature in database
GPG Key ID: BBD7A47A2003FF33
7 changed files with 12 additions and 12 deletions

View File

@ -488,7 +488,7 @@
"type": "boolean" "type": "boolean"
}, },
"devtools": { "devtools": {
"description": "Enable web inspector which is usually called browser devtools.\n\n It is enabled in **debug** builds, but requires `devtools` feature flag to actually enable it in **release** builds.\n\n ## Platform-specific\n\n - macOS: This will call private functions on **macOS**.\n - Android: Open `chrome://inspect/#devices` in Chrome to get the devtools window. Wry's `WebView` devtools API isn't supported on Android.\n - iOS: Open Safari > Develop > [Your Device Name] > [Your WebView] to get the devtools window.", "description": "Enable web inspector which is usually called browser devtools. Enabled by default.\n\n This API works in **debug** builds, but requires `devtools` feature flag to enable it in **release** builds.\n\n ## Platform-specific\n\n - macOS: This will call private functions on **macOS**.\n - Android: Open `chrome://inspect/#devices` in Chrome to get the devtools window. Wry's `WebView` devtools API isn't supported on Android.\n - iOS: Open Safari > Develop > [Your Device Name] > [Your WebView] to get the devtools window.",
"type": [ "type": [
"boolean", "boolean",
"null" "null"

View File

@ -382,9 +382,9 @@ impl WebviewAttributes {
self self
} }
/// Whether web inspector, which is usually called browser devtools, is enabled or not. /// Whether web inspector, which is usually called browser devtools, is enabled or not. Enabled by default.
/// ///
/// It is enabled in **debug** builds, but requires `devtools` feature flag to actually enable it in **release** builds. /// This API works in **debug** builds, but requires `devtools` feature flag to enable it in **release** builds.
/// ///
/// ## Platform-specific /// ## Platform-specific
/// ///

View File

@ -488,7 +488,7 @@
"type": "boolean" "type": "boolean"
}, },
"devtools": { "devtools": {
"description": "Enable web inspector which is usually called browser devtools.\n\n It is enabled in **debug** builds, but requires `devtools` feature flag to actually enable it in **release** builds.\n\n ## Platform-specific\n\n - macOS: This will call private functions on **macOS**.\n - Android: Open `chrome://inspect/#devices` in Chrome to get the devtools window. Wry's `WebView` devtools API isn't supported on Android.\n - iOS: Open Safari > Develop > [Your Device Name] > [Your WebView] to get the devtools window.", "description": "Enable web inspector which is usually called browser devtools. Enabled by default.\n\n This API works in **debug** builds, but requires `devtools` feature flag to enable it in **release** builds.\n\n ## Platform-specific\n\n - macOS: This will call private functions on **macOS**.\n - Android: Open `chrome://inspect/#devices` in Chrome to get the devtools window. Wry's `WebView` devtools API isn't supported on Android.\n - iOS: Open Safari > Develop > [Your Device Name] > [Your WebView] to get the devtools window.",
"type": [ "type": [
"boolean", "boolean",
"null" "null"

View File

@ -1486,9 +1486,9 @@ pub struct WindowConfig {
/// - **MacOS / Linux / iOS / Android** - Unsupported. /// - **MacOS / Linux / iOS / Android** - Unsupported.
#[serde(default)] #[serde(default)]
pub browser_extensions_enabled: bool, pub browser_extensions_enabled: bool,
/// Enable web inspector which is usually called browser devtools. /// Enable web inspector which is usually called browser devtools. Enabled by default.
/// ///
/// It is enabled in **debug** builds, but requires `devtools` feature flag to actually enable it in **release** builds. /// This API works in **debug** builds, but requires `devtools` feature flag to enable it in **release** builds.
/// ///
/// ## Platform-specific /// ## Platform-specific
/// ///

View File

@ -788,9 +788,9 @@ fn main() {
self self
} }
/// Whether web inspector, which is usually called browser devtools, is enabled or not. /// Whether web inspector, which is usually called browser devtools, is enabled or not. Enabled by default.
/// ///
/// It is enabled in **debug** builds, but requires `devtools` feature flag to actually enable it in **release** builds. /// This API works in **debug** builds, but requires `devtools` feature flag to enable it in **release** builds.
/// ///
/// ## Platform-specific /// ## Platform-specific
/// ///

View File

@ -897,9 +897,9 @@ impl<'a, R: Runtime, M: Manager<R>> WebviewWindowBuilder<'a, R, M> {
self self
} }
/// Whether web inspector, which is usually called browser devtools, is enabled or not. /// Whether web inspector, which is usually called browser devtools, is enabled or not. Enabled by default.
/// ///
/// It is enabled in **debug** builds, but requires `devtools` feature flag to actually enable it in **release** builds. /// This API works in **debug** builds, but requires `devtools` feature flag to enable it in **release** builds.
/// ///
/// ## Platform-specific /// ## Platform-specific
/// ///

View File

@ -729,9 +729,9 @@ interface WebviewOptions {
*/ */
zoomHotkeysEnabled?: boolean zoomHotkeysEnabled?: boolean
/** /**
* Whether web inspector, which is usually called browser devtools, is enabled or not. * Whether web inspector, which is usually called browser devtools, is enabled or not. Enabled by default.
* *
* It is enabled in **debug** builds, but requires `devtools` feature flag to actually enable it in **release** builds. * This API works in **debug** builds, but requires `devtools` feature flag to enable it in **release** builds.
* *
* #### Platform-specific * #### Platform-specific
* *