How does Vue bind @ onblur to dynamically added elements?

the div of the red box is automatically generated by wangeditor. How to bind @ onblur to this div?

Mar.22,2021

try it with native js?
after wangeditor initialization

document.getElementById('msgSendCont').onblur = this.cc()
The

event delegate knows that you can bind the event to its parent element, and then use $event to determine whether the child element is or not.


for the framework of mvvm such as view, dynamically added elements are actually dynamically added data. Mapping from data to view, as long as you have written the template, adding data,view will automatically change

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e46416-44b9e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e46416-44b9e.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?