mirror of
				https://github.com/avatao-content/frontend-tutorial-framework
				synced 2025-11-04 01:02:54 +00:00 
			
		
		
		
	Make it possible to send triggers with testmessenger
This commit is contained in:
		@@ -18,6 +18,6 @@ export class TestmessengerComponent implements OnInit {
 | 
			
		||||
 | 
			
		||||
  sendTestMessage() {
 | 
			
		||||
    const jsonObject = JSON.parse(this.messageStr);
 | 
			
		||||
    this.webSocketService.send(jsonObject['key'], jsonObject['data']);
 | 
			
		||||
    this.webSocketService.send(jsonObject['key'], jsonObject['data'], jsonObject['trigger']);
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user