forked from cybrespace/pinafore
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			304 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			304 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
import ConfirmationDialog from './ConfirmationDialog.html'
 | 
						|
 | 
						|
export function showConfirmationDialog (options) {
 | 
						|
  let dialog = new ConfirmationDialog({
 | 
						|
    target: document.getElementById('modal-dialog'),
 | 
						|
    data: Object.assign({
 | 
						|
      label: 'Confirmation dialog'
 | 
						|
    }, options)
 | 
						|
  })
 | 
						|
  dialog.show()
 | 
						|
}
 |