# j-SplashScreen

> Ekran splash dla aplikacji pojedynczej strony. ciało musi być włożone do etykiety <script type='text/html'>HTML</script>.

Framework: jcomponent20
Product: jComponent 20 (jcomponent@20)
Language: pl
Content-SHA256: 5b29b845ae3d8e6d35ed85569c2190d42bf93c921b97f5b3e12161ed4838bafb
Snapshot: c0700e321579725c5cf4f5ace1ad7d2866d1b4f93c24a63c0b41b6b7998e976c
Sources: components@910ed1a86f6e72b4f031d3ad0dc7844f9fc5cb8e
Review: not-recorded

Ekran splash dla aplikacji jednej strony. ciało musi być włożone do etykiety `<script type="text/html">HTML</script>`.

__Konfiguracja__:

- `timeout` w milisekundach, aby zniszczyć ekran splash (default: `3000`)
- `autoremove:true {Boolean}` automatycznie usuwa składnik.
- `remember {String}` np. `1 day` lub `1 week` - nie wyświetla ekranu splashowego (default: `empty` = wyłączony)

__Metody__:

- `component.show([body])` będzie wyświetlać ekran z nowym lub starym ciałem (`autoremove` musi być `false`)

Użyj go z `<ui-component name="splashscreen">`Gdy element nie jest jeszcze ładowany, jComponent Pobierz go po pierwszym użyciu z adresu `DEF.fallback` (Wydaje się Componentator Autor: Peter Širka Źródło: Componentator Zestaw składników, licencja MIT.

```html example.html
<style>
	html,body { height: 100%; overflow: hidden; padding: 0; margin: 0; }
	body { background-color: #F0F0F0; }
</style>

<ui-component name="splashscreen" class="ui-splashscreen">
	<script type="text/html">
		<div><img src="https://www.totaljs.com/download/B20200120T000000011.png" alt="Total.js Framework" border="0" /></div>
		<br />
		<p>Total.js framework is a server-side framework for Node.js<br /><b>Better than sex</b></p>
	</script>
</ui-component>

<div>Lorem ipsum</div>
<div>Lorem ipsum</div>
<div>Lorem ipsum</div>
<div>Lorem ipsum</div>
<div>Lorem ipsum</div>
<div>Lorem ipsum</div>
<div>Lorem ipsum</div>
```
