Skip to content

WebSharper.UI 4.2.4

Compare
Choose a tag to compare
@Tarmil Tarmil released this 29 Mar 19:48
· 407 commits to master since this release

This is a minor feature release of WebSharper.UI, out-of-band from WebSharper.

Features

  • #163 Allow using the on.afterRender attribute, the Elt.OnAfterRender() method and the ws-onafterrender template hole from the server side just like other event handlers.

  • #165 Add variadic overload for Attr and Doc-typed hole instantiation. For example, the following:

    MyTemplate()
        .Body(
            [
                h1 [] [text "Hello!"]
                p [] [text "Welcome to my page."]
            ]
        )

    can now be written as:

    MyTemplate()
        .Body(
            h1 [] [text "Hello!"],
            p [] [text "Welcome to my page."]
        )

Fixes

  • #138 Fix an exception thrown when editing a template file while the application is running and serverLoad is set to ServerLoad.WhenChanged.