WebSharper 4.5.1
This is a minor release for WebSharper 4.5. See the associated WebSharper.UI release
Templates for .NET Core SDK: dotnet new -i WebSharper.Templates::4.5.1.266
Templates for Visual Studio 2017: http://websharper.com/installers/WebSharper.4.5.1.266.vsix
Features
- #1005: Add
MouseEvent.Buttons
property. - #1006: WIG: Add the capability to declare abstract classes and abstract and virtual methods.
- #1016: Macros: Add
NeedsTranslatedArguments
property defaulting tofalse
. If overridden totrue
, the arguments to the macro are translated before being passed to the macro. - As a result of #1016: the
New
macro now compiles to a plain JS object in more cases. In particular, it recognizes a list of members declared using a function call that inlines into a literal (string, obj) pair. - #1018: Add support for argument-less
Nullable.GetValueOrDefault()
.