Vue uses jsx to render pages and how to bind custom events from components.

The click event can be bound using onClick= {this.click} in

jsx.
how to bind custom events.
onXXXEvent= {this.xxx} does not reflect

Mar.23,2021
Just add on- directly to the event name

event name, such as on-custom-event= {handler}


render() {
    return <div {...{on: {customEvent: handler}}}></div>
}

https://github.com/vuejs/babe.


https://github.com/vuejs/babe.

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-1bec228-31ad7.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-1bec228-31ad7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?