RegisterAvaloniaServiceWorker Property
Unstable.
Note: This API is unstable and may change in a future release.
Defines if the service worker used by Avalonia should be registered. If registered, service worker can work as a save file picker fallback on the browsers that don't support native implementation. For more details, see https://github.com/jimmywarting/native-file-system-adapter#a-note-when-downloading-with-the-polyfilled-version.
Definition
Namespace: Avalonia.Browser
Assembly: Avalonia.Browser (in Avalonia.Browser.dll)
- C#
- VB
- F#
[UnstableAttribute("This property might not work reliably.")]
public bool RegisterAvaloniaServiceWorker { get; set; }
<UnstableAttribute("This property might not work reliably.")>
Public Property RegisterAvaloniaServiceWorker As Boolean
Get
Set
[<UnstableAttribute("This property might not work reliably.")>]
member RegisterAvaloniaServiceWorker : bool with get, set