HTML DOM Events

For the client-side JavaScript composite controls, do they raise custom events anywhere client-side, such that I can register for events from multiple event handlers? Specifically, for the RichTextEditor, it's initialized in javascript against a TextArea that is then hidden... in jquery, I might register

$("#MyTextareaId").on("es2.richtextbox.change", function() { ...});

where es2.richtextbox.change are custom events bubbled from the framework - is this functionality present and how do I formulate the custom event names so I can respond to them?


1 Reply

VJ Vinitha Jeyakumar Syncfusion Team August 27, 2021 08:39 AM UTC

Hi John,  
  
  
Greetings from Syncfusion support  
  
  
We have validated your query “HTML DOM Events” . We have our own DOM events for Rich Text Editor component which will be triggered for appropriate Rich Text Editor actions and functionalities. You can refer the below API link, which gives the list of events available for Rich Text Editor component.  
  
  
You can achieve your requirement by binding event handlers to the necessary events.  
 
If still your requirement is not satisfied, please share your specific functionality or scenario in which you want to formulate the custom events. We will provide you a prompt solution.  
  
Regards,  
Vinitha. 


Loader.
Up arrow icon