mirror of https://github.com/tauri-apps/tauri
document default behavior
This commit is contained in:
parent
5a6d5588c3
commit
b48b75217e
|
@ -488,7 +488,7 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"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": [
|
||||
"boolean",
|
||||
"null"
|
||||
|
|
|
@ -382,9 +382,9 @@ impl WebviewAttributes {
|
|||
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
|
||||
///
|
||||
|
|
|
@ -488,7 +488,7 @@
|
|||
"type": "boolean"
|
||||
},
|
||||
"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": [
|
||||
"boolean",
|
||||
"null"
|
||||
|
|
|
@ -1486,9 +1486,9 @@ pub struct WindowConfig {
|
|||
/// - **MacOS / Linux / iOS / Android** - Unsupported.
|
||||
#[serde(default)]
|
||||
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
|
||||
///
|
||||
|
|
|
@ -788,9 +788,9 @@ fn main() {
|
|||
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
|
||||
///
|
||||
|
|
|
@ -897,9 +897,9 @@ impl<'a, R: Runtime, M: Manager<R>> WebviewWindowBuilder<'a, R, M> {
|
|||
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
|
||||
///
|
||||
|
|
|
@ -729,9 +729,9 @@ interface WebviewOptions {
|
|||
*/
|
||||
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
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue