DrSensor / nusa

incremental runtime that bring both simplicity and power into webdev (buildless, cross-language, data-driven)
MIT License
4 stars 0 forks source link

`` bind`prop` `` tag string #39

Open DrSensor opened 1 year ago

DrSensor commented 1 year ago

Warning: beware of HTMLUnknownElement when detecting current <render-scope>

<render-scope>

<link href=money/usd.js>
<link href=money/jpy.js>
<link href=counter.js>

<script type=module>
import { bind } from "w/std"

bind`
  dollar<->count
  currency
  yen->toUSD
`.run = (value) => console.log(value)
</script>

</render-scope>