Constructor
new LoginDialog()
Create a new LoginDialog instance.
- Source
Classes
Methods
_build() → {HTMLElement}
Build and return the dialog overlay element.
Returns:
The overlay containing the modal.
- Type:
- HTMLElement
close()
Hide and destroy the dialog.
open()
Show the dialog as a dismissable overlay.
openRequired()
Show the dialog as a blocking gate — no close button, no backdrop dismiss. Use this when a sign-in is required to access the app.
showConnectError(msg)
Show a server-side sign-in error and re-enable the form. Called when Firebase auth succeeded but the backend rejected the user. No-op if the dialog is not open.
Parameters:
| Name | Type | Description |
|---|---|---|
msg | string | The error message to display. |