WebSharper UI 4.2.5
This is a feature release for WebSharper.UI 4.2. See the associated WebSharper release.
Enhancements
- Add
Router.InstallInto
andRouter.InstallHashInto
, which are similar toRouter.Install
andRouter.InstallHash
respectively, except that they take aVar<'EndPoint>
as argument rather than creating and returning one.
Fixes
- #164 Remove
click
event handler onDoc.Checkbox
, only keepingchange
, to avoid setting the Var twice. - #166 Add proxy for quotation-based
.OnXyz(...)
event handlers. - #167 Fix initial value of
Var.Make
whenever an initial value is available from theView
. - #168 Add
View.TryGet : View<'T> -> option<'T>
which returns the current value of aView
if available, orNone
if not (eg if aView.MapAsync
hasn't returned yet).