Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
erpellan
on May 11, 2020
|
parent
|
context
|
favorite
| on:
What if we'd had better HTML-in-JS syntax all alon...
The object syntax example looks very like what is already possible in Kotlin:
https://github.com/Kotlin/kotlinx.html
html { body { div { a("https://kotlinlang.org") { target = ATarget.blank +"Main site" } } } }
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: