Snippets tagged websharper

  • WebSharper Hello World

    This sample implements "Hello, world!" as a WebSharper application. It demonstrates how to compose HTML/XML using combinators, how to dynamically create a button with a handler and how to update an existing DOM element.

    4 people like this

    Posted: 7 years ago by Tomas Petricek

  • Generate template definition

    Instead of writing template instanciation by hand, this generate a Templates.fs file with all templates given a directory tree containing .html files.

    2 people like this

    Posted: 3 years ago by Gauthier Segay