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

#246 `ws-anchor` attribute implementation and tests #248

Closed Jand42 closed 1 year ago

Jand42 commented 1 year ago

New attribute on templates, ws-anchor="AnchorName" marks an element that can be looked up inside event handlers using TemplateInstance lambda argument, as .Anchors.AnchorName.

Jooseppi12 commented 1 year ago

@Jand42 Looks good to me, but there is a merge conflict with the changes from #84.