Y
Hacker News
new
|
ask
|
show
|
jobs
by
gitowiec
101 days ago
I don't get it. They say it doesn't need JavaScript. But how command is declared? And they show example rotating img with JS
1 comments
maqnius
100 days ago
JS is not needed for some defined build-in commands [0]. Custom commands will emit an Event only which probably should end up in some JS function most of the time.
[0]
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...
link
[0] https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...