docs: webview is only available with nodeIntegration on
This commit is contained in:
		
					parent
					
						
							
								90f52169af
							
						
					
				
			
			
				commit
				
					
						7ce87c470a
					
				
			
		
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
					@ -12,6 +12,9 @@ app. It doesn't have the same permissions as your web page and all interactions
 | 
				
			||||||
between your app and embedded content will be asynchronous. This keeps your app
 | 
					between your app and embedded content will be asynchronous. This keeps your app
 | 
				
			||||||
safe from the embedded content.
 | 
					safe from the embedded content.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					For security purpose, `webview` can only be used in `BrowserWindow`s that have
 | 
				
			||||||
 | 
					`nodeIntegration` enabled.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Example
 | 
					## Example
 | 
				
			||||||
 | 
					
 | 
				
			||||||
To embed a web page in your app, add the `webview` tag to your app's embedder
 | 
					To embed a web page in your app, add the `webview` tag to your app's embedder
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue