logoalt Hacker News

gitowieclast Sunday at 5:06 PM1 replyview on HN

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


Replies

maqniuslast Monday at 4:38 PM

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/...