Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

  • new GlacierWindow(scriptURL: string, registerOptions?: unknown): GlacierWindow

Properties

lifecycleHooks: LifecycleHooks
lifecycles: string[]
plugins: { global: Record<string, WindowPlugin>; scope: Record<string, Record<string, WindowPlugin>> }

Type declaration

workbox: Workbox

Methods

  • callLifecyleMiddlewares<Context>(scopePath: string | string[], lifecycle: Lifecycle, context?: Context): Promise<void>
  • Type parameters

    • Context: BaseContext

    Parameters

    • scopePath: string | string[]
    • lifecycle: Lifecycle
    • Optional context: Context

    Returns Promise<void>

  • getScopePath(): string
  • register(__namedParameters?: { immediate: boolean }): Promise<ServiceWorkerRegistration>
  • unregister(): Promise<void>
  • Parameters

    Returns void

  • Parameters

    Returns void

Generated using TypeDoc