MobileOfflineOverlayController

MobileOfflineOverlayController

MobileOfflineOverlay Stimulus Controller

Manages offline state overlay for mobile pages that require internet connection. Extends MobileControllerBase for centralized connection handling.

Features:

  • Shows blocking overlay when offline
  • Provides "Return to Auth Card" button
  • Automatically hides when back online

Constructor

new MobileOfflineOverlayController()

Source:

Methods

handleConnectionStatusEvent()

Description:
  • Handle connection status event from PWA controller

Source:

hideOverlay()

Description:
  • Hide offline overlay

Source:

onConnect()

Description:
  • Called after base class connect

Source:

onConnectionStateChanged()

Description:
  • Called when connection state changes (from base class)

Source:

onDisconnect()

Description:
  • Called after base class disconnect

Source:

showOverlay()

Description:
  • Show offline overlay

Source: