# j-Offline

> Tento komponent zobrazí okno s hlásením, keď nie je k dispozícii internetové pripojenie.

Framework: jcomponent20
Product: jComponent 20 (jcomponent@20)
Language: sk
Content-SHA256: 17154d7bb3855994ca647bdf78e62dc8106f245927235b8462e8aff727fca93d
Snapshot: c0700e321579725c5cf4f5ace1ad7d2866d1b4f93c24a63c0b41b6b7998e976c
Sources: components@910ed1a86f6e72b4f031d3ad0dc7844f9fc5cb8e
Review: not-recorded

Tento komponent zobrazí okno s hlásením, keď nie je k dispozícii internetové pripojenie.

- singleton

Použite ho so `<ui-component name="offline">`. Keď komponent ešte nie je načítaný, jComponent ho stiahne pri prvom použití z adresy v `DEF.fallback` (predvolene CDN Componentator). Autor: Peter Širka. Zdroj: úložisko komponentov Componentator, licencia MIT.

```html example.html
<ui-component name="offline" class="hidden">
	<div style="font-size:60px"><i class="ti ti-globe red"></i></div>
	<b>No internet connection</b>
	<div style="font-size:12px">Please check your network connection and try again.</div>
</ui-component>

<div class="padding">Use the Web Developer Tools to turn off the internet via the Network tab.</div>
```
