[CORE] how to write js inside event binding directly?

for instance:
<div @click="()=>alert('hello world!')"></div>
without referring any methods, like vue;

You cannot do this…

@nolimits4web
Possible adding this in future?