PRIM_WEB.ServiceWorker (PRIM_WEB.ServiceWorker)

Class that provides access to the application's service worker framework

Ancestors - Object (PRIM_OBJT)

Details

No detailed help is available for this feature

Properties

Name

Description

ComponentClassName

ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT)

ComponentMembers

ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT)

ComponentPatternName

ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT)

ComponentTag

Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT)

ComponentType

ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT)

ComponentTypeName

ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT)

Name

Name identifies the component Inherited from Object (PRIM_OBJT)

Owner

Owner owns this component Inherited from Object (PRIM_OBJT)

Parent

The component instance to which this instance is attached. The visual container for a control or the collector of a set of child instances Inherited from Object (PRIM_OBJT)

ReloadAfterUpgrade

Boolean to control if the current application should be reloaded after the service worker has been upgraded. The default is true. Use false to stop the reload, with the user interface providing the visual cues for the users to trigger the reload.

ReloadFirstTime

Boolean to control if the current application should be reloaded after the service worker has been initially installed. The default is true.

SkipWaitingAfterUpgrade

Boolean to control if the current application should skip waiting and immediately install an upgrade of the service worker. The default is true. Use false to stop the automatic upgrade, with the user interface providing the visual cues for the user to trigger the upgrade.

Status

Read-only property that indicates the current state of the service worker

Events

Name

Description

CreateInstance

CreateInstance is signaled when an instance of a component is created [Inherited from PRIM_WEB.ServiceWorker (PRIM_WEB.ServiceWorker)

DestroyInstance

DestroyInstance is signaled when an instance of a component is about to be destroyed [Inherited from PRIM_WEB.ServiceWorker (PRIM_WEB.ServiceWorker)

Methods

Name

Description

SkipWaiting

Method used to instruct the current application to stop waiting and continue to install an upgrade of the service worker


See also

All Component Classes

Technical Reference

  • No labels