docs: Improve wording of setBrowserView and getBrowserView (#20065)
* Improve wording of setBrowserView and getBrowserView * Update wording based on feedback
This commit is contained in:
		
					parent
					
						
							
								a453f2ae6c
							
						
					
				
			
			
				commit
				
					
						bff16e027a
					
				
			
		
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -1739,14 +1739,14 @@ removed in future Electron releases. | ||||||
| 
 | 
 | ||||||
| #### `win.setBrowserView(browserView)` _Experimental_ | #### `win.setBrowserView(browserView)` _Experimental_ | ||||||
| 
 | 
 | ||||||
| * `browserView` [BrowserView](browser-view.md) | null - Attach browserView to win. | * `browserView` [BrowserView](browser-view.md) | null - Attach `browserView` to `win`. | ||||||
| If there is some other browserViews was attached they will be removed from | If there are other `BrowserView`s attached, they will be removed from | ||||||
| this window. | this window. | ||||||
| 
 | 
 | ||||||
| #### `win.getBrowserView()` _Experimental_ | #### `win.getBrowserView()` _Experimental_ | ||||||
| 
 | 
 | ||||||
| Returns `BrowserView | null` - an BrowserView what is attached. Returns `null` | Returns `BrowserView | null` - The `BrowserView` attached to `win`. Returns `null` | ||||||
| if none is attached. Throw error if multiple BrowserViews is attached. | if one is not attached. Throws an error if multiple `BrowserView`s are attached. | ||||||
| 
 | 
 | ||||||
| #### `win.addBrowserView(browserView)` _Experimental_ | #### `win.addBrowserView(browserView)` _Experimental_ | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Cem Schemel
				Cem Schemel