Skip to main content

AvaloniaServiceWorkerScope Property

If RegisterAvaloniaServiceWorker is enabled, it is possible to redefine scope for the worker. By default, current domain root is used as a scope.

Definition​

Namespace: Avalonia.Browser
Assembly: Avalonia.Browser (in Avalonia.Browser.dll)

public string? AvaloniaServiceWorkerScope { get; set; }

Property Value​

String

See Also​

Reference​

BrowserPlatformOptions Class
Avalonia.Browser Namespace