dotnet-websharper / ui

A reactive UI library for WebSharper.
https://websharper-samples.github.io/ui/
Apache License 2.0
77 stars 22 forks source link

#200: bind server-side vars to ${Hole}s #202

Closed Tarmil closed 6 years ago

Tarmil commented 6 years ago

Fixes #200.

Before this PR, a server-side var such as this:

<input ws-var="MyVar" />

would be rendered as something like this:

<input oninput="some-generated-function-name(&quot;some-guid&quot;, &quot;MyVar&quot;)(this)(event)" />

This PR does the following: