BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
<ejs-diagram #diagram id="diagram" width="100%" height="700px (textEdit)="textEdit($event)" >
</ejs-diagram>
textEdit(args:ITextEditEventArgs) {
//get a new text and old text
console.log(args.newValue);
console.log(args.oldValue);
}
|
Hi Rakhi,There is no textChange event in the diagram control. Please use textEdit event which triggers once you edit the text and focus out of the text area. In this event, we get a new and the old text in the newValue and oldValue property respectively. Please refer to a help documentation, code example and the sample below.Help documentation: https://ej2.syncfusion.com/documentation/api/diagram/#textedit
Code example:
<ejs-diagram #diagram id="diagram" width="100%" height="700px (textEdit)="textEdit($event)" ></ejs-diagram>
textEdit(args:ITextEditEventArgs) {//get a new text and old textconsole.log(args.newValue);console.log(args.oldValue);}
Regards,Shyam G