Merge pull request #9404 from tom-james-watson/master
Clarify dialog blocking functionality
This commit is contained in:
		
				commit
				
					
						1df72e42a5
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -161,8 +161,8 @@ It returns the index of the clicked button.
 | 
			
		|||
 | 
			
		||||
The `browserWindow` argument allows the dialog to attach itself to a parent window, making it modal.
 | 
			
		||||
 | 
			
		||||
If a `callback` is passed, the API call will be asynchronous and the result
 | 
			
		||||
will be passed via `callback(response)`.
 | 
			
		||||
If a `callback` is passed, the dialog will not block the process. The API call
 | 
			
		||||
will be asynchronous and the result will be passed via `callback(response)`.
 | 
			
		||||
 | 
			
		||||
### `dialog.showErrorBox(title, content)`
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue