mirror of
				https://git.proxmox.com/git/mirror_xterm.js
				synced 2025-11-04 00:26:44 +00:00 
			
		
		
		
	Add docstring for the title event
This commit is contained in:
		
							parent
							
								
									38cd1bd6d7
								
							
						
					
					
						commit
						1fc5a9aada
					
				@ -3144,6 +3144,12 @@ Terminal.prototype.handler = function(data) {
 | 
			
		||||
 * @param {string} title The title to populate in the event.
 | 
			
		||||
 */
 | 
			
		||||
Terminal.prototype.handleTitle = function(title) {
 | 
			
		||||
  /**
 | 
			
		||||
   * This event is emitted when the title of the terminal is changed
 | 
			
		||||
   * from inside the terminal. The parameter is the new title.
 | 
			
		||||
   *
 | 
			
		||||
   * @event title
 | 
			
		||||
   */
 | 
			
		||||
  this.emit('title', title);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user