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

Add a `ws-anchor` attribute for TP #246

Open Jand42 opened 2 years ago

Jand42 commented 2 years ago

Using ws-anchor="AnchorName" on an element in a template makes that element available to access by name under .Anchors, similar to how bound/reactive variables are exposed under .Vars.