0
comment
on 3/29/2018 5:58 AM

We are happy to announce the release of WebSharper.UI 4.2.4.

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:

    1
    2
    3
    4
    5
    6
    7
    8
    
    MyTemplate()
        .Body(
            [
                h1 [] [text "Hello!"]
                p [] [text "Welcome to my page."]
            ]
        )
        .Doc()

    can now be written as:

    1
    2
    3
    4
    5
    6
    
    MyTemplate()
        .Body(
            h1 [] [text "Hello!"],
            p [] [text "Welcome to my page."]
        )
        .Doc()

Fixes

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

Happy coding!

.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper