upp-offline
Offline waiting card used while reports or account data load without connectivity. Shows the shared beer-loading gif from upp-wdgt assets and a translated status line supplied by the parent.
When to Use
Use when a feature panel needs a consistent offline/waiting placeholder (for example account view or till panel reload). Control visibility with [hidden] on the host so the gif preloads before the user sees the card.
API Reference
| Input | Type | Description |
|---|---|---|
message | string | null | Translation key or resolved text shown under the progress bar |
The component injects viewService for theme-aware styling. It does not detect online/offline state itself.
Example
<upp-offline
[hidden]="!showOffline"
[message]="'@place_reports_offline'">
</upp-offline>
Parent resolves the message with lang.tr(...) when binding a dynamic key.