# Globalne nazwy jComponent 20

> Globalne funkcje i przedmioty jComponent 20, z ich celem i zastosowaniem przepisów.

Framework: jcomponent20
Product: jComponent 20 (jcomponent@20)
Language: pl
Content-SHA256: 75ea426777f6f1ff76fe735946125a153a5193589f422a4dd100a0cb7d7b2cfb
Snapshot: c0700e321579725c5cf4f5ace1ad7d2866d1b4f93c24a63c0b41b6b7998e976c
Sources: jcomponent20@3fedd009a277f50fddc608b97afbec553b67c51b
Review: not-recorded

jComponent 20 przedstawia globalne funkcje i obiekty dla stanu, komponentów, zapytania i narzędzi przeglądarki. pakiet zawiera również jQuery.

| Nazwa | Rodzaj | Co robi | Przepis |
|---|---|---|---|
| `$` | function | jQuery. | [getting-started](/en/jcomponent/getting-started/) |
| `$totaluidate` | function | Wewnętrzne: godzina minus 12 od południa (`$totaluidate(13)` to `1`, `$totaluidate(5)` pozostaje `5`). | [data-helpers](/en/jcomponent/data-helpers/) |
| `$W` | object | Obiekt jQuery okna. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `ADAPT` | function | Zastępuje znaczniki (`~PATH~`, `~ID~`, `CLASS`) i tłumaczy tekst komponentu. | [find-and-call](/en/jcomponent/find-and-call/) |
| `AJAX` | function | `AJAX('METHOD /url/', data, callback)` wysyła żądanie do serwera. | [ajax](/en/jcomponent/ajax/) |
| `API` | function | Wywołuje punkt końcowy `ROUTE('API ...')` w Total.js z nazwą schematu i danymi. | [api-calls](/en/jcomponent/api-calls/) |
| `APPEARANCE` | function | Ustawia kolor, tryb ciemny i zmienne CSS strony. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `ASETTER` | function | Zwraca funkcję, która wywoła `SETTER()` później. | [find-and-call](/en/jcomponent/find-and-call/) |
| `ATTRD` | function | Odczytuje atrybut `data-` elementu lub zdarzenia. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `BLOCKED` | function | Za pierwszym razem zwraca false, a potem przez pewien czas true: ochrona przed powtarzanymi akcjami. | [state-shortcuts](/en/jcomponent/state-shortcuts/) |
| `CACHE` | function | Zapisuje wartość w przeglądarce na pewien czas. | [storage-cache-pref-cookies](/en/jcomponent/storage-cache-pref-cookies/) |
| `CACHEPATH` | function | Przechowuje ścieżkę stanu w cache i ją przywraca. | [state-shortcuts](/en/jcomponent/state-shortcuts/) |
| `CL` | function | Ładuje listy kodów zarejestrowane przez `CLINIT()`, które nie są jeszcze załadowane. | [data-helpers](/en/jcomponent/data-helpers/) |
| `clearTimeout2` | function | Anuluje timer z `setTimeout2()`. | [state-shortcuts](/en/jcomponent/state-shortcuts/) |
| `CLINIT` | function | Rejestruje listę kodów i funkcję, która ją ładuje. | [data-helpers](/en/jcomponent/data-helpers/) |
| `CLONE` | function | Głęboka kopia wartości, łącznie z datami. | [state-shortcuts](/en/jcomponent/state-shortcuts/) |
| `CLRELOAD` | function | Ładuje listy kodów ponownie. | [data-helpers](/en/jcomponent/data-helpers/) |
| `CMD` | function | Uruchamia polecenie komponentu. Użyj `CMD` instancji lub `EXEC`. | [commands](/en/jcomponent/commands/) |
| `COMPILE` | function | Ta sama funkcja co `NOOP` w jComponent 20. | [find-and-call](/en/jcomponent/find-and-call/) |
| `COMPONENT` | function | Deklaruje komponent. | [custom-component](/en/jcomponent/custom-component/) |
| `COMPONENTS` | function | Gotowe komponenty pod ścieżką. | [find-and-call](/en/jcomponent/find-and-call/) |
| `CONFIG` | function | Zmienia konfigurację komponentów znalezionych przez selektor. | [component-config](/en/jcomponent/component-config/) |
| `COOKIES` | object | Odczytuje, zapisuje i usuwa ciasteczka. | [storage-cache-pref-cookies](/en/jcomponent/storage-cache-pref-cookies/) |
| `COPY` | function | Kopiuje właściwości jednego obiektu do drugiego, w głąb. | [state-shortcuts](/en/jcomponent/state-shortcuts/) |
| `DAYS` | object | Nazwy dni tygodnia po angielsku, od niedzieli. | [data-helpers](/en/jcomponent/data-helpers/) |
| `DECRYPT` | function | Odczytuje wartość utworzoną przez `ENCRYPT()` z tym samym kluczem i typem. | [data-helpers](/en/jcomponent/data-helpers/) |
| `DEF` | object | Wartości domyślne jComponent. `DEF.fallback` to adres, z którego pobierane są niezaładowane komponenty. | - |
| `DIFFDOM` | function | Sprawia, że dzieci elementu są takie same jak nowa lista, bez przerysowywania tych, które zostają. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `EMIT` | function | Emituje zdarzenie globalne. | [events](/en/jcomponent/events/) |
| `EMPTYARRAY` | object | Zamrożona pusta tablica. | [data-helpers](/en/jcomponent/data-helpers/) |
| `EMPTYOBJECT` | object | Zamrożony pusty obiekt. | [data-helpers](/en/jcomponent/data-helpers/) |
| `ENCRYPT` | function | Zamienia wartość na tekst szesnastkowy z kontrolą klucza (zaciemnienie, nie bezpieczeństwo). | [data-helpers](/en/jcomponent/data-helpers/) |
| `ENV` | function | Rejestruje lub odczytuje wartość strony, używaną w adresach URL jako `[name]`. | [environment-variables](/en/jcomponent/environment-variables/) |
| `ENVIRONMENT` | function | Ustawia nazwę aplikacji dla magazynu, wersję i język. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `ERROR` | function | Pomocnik do obsługi błędów walidacji odpowiedzi `API()`. | [api-calls](/en/jcomponent/api-calls/) |
| `ERRORS` | function | Zwraca niepoprawne komponenty pod ścieżką. | [validation](/en/jcomponent/validation/) |
| `EXE` | function | Wywołuje metodę pluginu, funkcję globalną lub funkcję ze stanu (tak jak `EXEC()`). | [find-and-call](/en/jcomponent/find-and-call/) |
| `EXEC` | function | Wywołuje metodę wtyczki (`EXEC('plugin/method')`) lub funkcję globalną. | [commands](/en/jcomponent/commands/) |
| `EXTENSION` | function | Dodaje kod do każdej instancji komponentu lub wtyczki. | [extensions](/en/jcomponent/extensions/) |
| `FIND` | function | Znajduje gotowy komponent po nazwie, ścieżce lub identyfikatorze. | [find-and-call](/en/jcomponent/find-and-call/) |
| `FLAGS` | function | Wykonuje własne flagi ścieżki i funkcję zwrotną. | [custom-flags](/en/jcomponent/custom-flags/) |
| `FN` | function | Kompiluje wyrażenie do funkcji i zapamiętuje ją. | [data-helpers](/en/jcomponent/data-helpers/) |
| `FREE` | function | Natychmiast uruchamia czyszczenie usuniętych komponentów. | [component-lifecycle](/en/jcomponent/component-lifecycle/) |
| `FUNC` | object | Obiekt na funkcje, które może wywołać `EXE('FUNC.name')`. | [find-and-call](/en/jcomponent/find-and-call/) |
| `GET` | function | Odczytuje wartość ze ścieżki stanu. | [state-api](/en/jcomponent/state-api/) |
| `GUID` | function | Zwraca losowe id. | [utilities](/en/jcomponent/utilities/) |
| `HASH` | function | Zwraca skrót liczbowy. | [utilities](/en/jcomponent/utilities/) |
| `HIDDEN` | function | Prawda, gdy element nie jest wyświetlany. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `IMPORT` | function | Ładuje fragment HTML, skrypt lub styl z adresu URL. | [ui-import](/en/jcomponent/ui-import/) |
| `INC` | function | Dodaje 1 (lub podaną liczbę) do liczby w ścieżce. | [state-shortcuts](/en/jcomponent/state-shortcuts/) |
| `inDOM` | function | Prawda, dopóki element jest w dokumencie. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `isIE` | boolean | Prawda w Internet Explorerze. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `isMOBILE` | boolean | Prawda na urządzeniu mobilnym. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `isPRIVATEMODE` | boolean | Prawda w oknie prywatnym. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `isROBOT` | boolean | Prawda dla robota wyszukiwarki. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `isSTANDALONE` | boolean | Prawda, gdy strona działa jako zainstalowana aplikacja. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `isTOUCH` | boolean | Prawda na urządzeniu z dotykiem. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `jComponent` | object | Silnik jComponent: `M.components`, `M.version`... | [find-and-call](/en/jcomponent/find-and-call/) |
| `jQuery` | function | jQuery, dołączone w tym samym pliku. | [getting-started](/en/jcomponent/getting-started/) |
| `LOCALIZE` | function | Ładuje słownik w formacie plików zasobów Total.js. | [data-helpers](/en/jcomponent/data-helpers/) |
| `M` | object | Silnik jComponent (ten sam obiekt co `jComponent`, `Total` i `MAIN`). | [find-and-call](/en/jcomponent/find-and-call/) |
| `MAIN` | object | Silnik jComponent (ten sam obiekt co `jComponent`, `Total` i `M`). | [find-and-call](/en/jcomponent/find-and-call/) |
| `MIDDLEWARE` | function | Rejestruje funkcję uruchamianą przed trasą albo uruchamia listę takich funkcji po kolei. | [find-and-call](/en/jcomponent/find-and-call/) |
| `MONTHS` | object | Nazwy miesięcy po angielsku. | [data-helpers](/en/jcomponent/data-helpers/) |
| `NAV` | object | Bieżąca lokalizacja: `url`, `query`, `params` oraz `back()`/`forward()`. | [spa-routing](/en/jcomponent/spa-routing/) |
| `NEWUIBIND` | function | Tworzy `ui-bind` na elemencie z poziomu kodu. | [find-and-call](/en/jcomponent/find-and-call/) |
| `NODEINDEXOF` | function | Pozycja elementu wśród jego rodzeństwa. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `NODEINSERT` | function | Przenosi element za inny lub przed inny. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `NODEMOVE` | function | Przesuwa element o jedno miejsce w dół lub w górę w jego rodzicu. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `NOOP` | function | Funkcja, która nic nie robi. | [state-shortcuts](/en/jcomponent/state-shortcuts/) |
| `NOTFOCUSED` | function | Prawda, gdy karta przeglądarki jest w tle. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `NOW` | object | `Date`, który jComponent utrzymuje aktualny. | [data-helpers](/en/jcomponent/data-helpers/) |
| `NUL` | function | Ustawia wartość ścieżki na `null` (tak jak `NULL`). | [state-shortcuts](/en/jcomponent/state-shortcuts/) |
| `NULL` | function | Ustawia wartość ścieżki na `null`. | [state-shortcuts](/en/jcomponent/state-shortcuts/) |
| `OFF` | function | Usuwa nasłuchiwaczy zdarzenia globalnego. | [events](/en/jcomponent/events/) |
| `ON` | function | Rejestruje nasłuchiwacza zdarzenia globalnego. | [events](/en/jcomponent/events/) |
| `PARSE` | function | Parsuje JSON i zamienia ciągi dat na daty. | [utilities](/en/jcomponent/utilities/) |
| `PIPE` | function | `API()` na adres z `DEF.pipe`. | [find-and-call](/en/jcomponent/find-and-call/) |
| `PLUGIN` | function | Deklaruje wtyczkę. | [plugin](/en/jcomponent/plugin/) |
| `PLUGINS` | object | Pluginy strony według ich ścieżki. | [find-and-call](/en/jcomponent/find-and-call/) |
| `PREF` | object | Preferencje użytkownika zapisane w przeglądarce. | [storage-cache-pref-cookies](/en/jcomponent/storage-cache-pref-cookies/) |
| `PUSH` | function | Dodaje wartość do tablicy stanu i powiadamia. | [state-api](/en/jcomponent/state-api/) |
| `QUERIFY` | function | Tworzy query string z obiektu, także po adresie lub metodzie. | [data-helpers](/en/jcomponent/data-helpers/) |
| `REDIRECT` | function | Zmienia adres bez ładowania strony i uruchamia pasującą trasę. | [spa-routing](/en/jcomponent/spa-routing/) |
| `REPO` | object | Twój obiekt do współdzielenia danych między komponentami. | [find-and-call](/en/jcomponent/find-and-call/) |
| `RESET` | function | Czyści stany touched i modified pod ścieżką. | [validation](/en/jcomponent/validation/) |
| `ROUTE` | function | Rejestruje trasę po stronie klienta. | [spa-routing](/en/jcomponent/spa-routing/) |
| `SCROLLBAR` | function | Owija element własnym paskiem przewijania. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `SCROLLBARWIDTH` | function | Szerokość, jaką zajmuje pasek przewijania. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `SEEX` | function | Wywołuje funkcję po nazwie lub ustawia ścieżkę. | [find-and-call](/en/jcomponent/find-and-call/) |
| `SET` | function | Zapisuje wartość pod ścieżką stanu i powiadamia wszystko, co jest z nią powiązane. | [state-api](/en/jcomponent/state-api/) |
| `SETTER` | function | Wywołuje metodę każdego komponentu o danej nazwie, ścieżce lub identyfikatorze. | [find-and-call](/en/jcomponent/find-and-call/) |
| `setTimeout2` | function | `setTimeout()` z debounce, z identyfikatorem i opcjonalnym limitem restartów. | [state-shortcuts](/en/jcomponent/state-shortcuts/) |
| `STRINGIFY` | function | `JSON.stringify()`, który potrafi kompresować puste wartości i wybierać pola. | [data-helpers](/en/jcomponent/data-helpers/) |
| `STYLE` | function | Dodaje styl do head; ten sam identyfikator go zastępuje. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `Ta` | object | Ten sam obiekt co `Tangular`, silnik szablonów. | [data-helpers](/en/jcomponent/data-helpers/) |
| `Tangular` | object | Silnik szablonów. | [ui-bind-templates](/en/jcomponent/ui-bind-templates/) |
| `TAPI` | function | `API()` na adres z `DEF.api`. | [find-and-call](/en/jcomponent/find-and-call/) |
| `TEMP` | object | Obiekt na dane tymczasowe. | [find-and-call](/en/jcomponent/find-and-call/) |
| `Thelpers` | object | Helpery szablonów (`Tangular.helpers`): dodaj jeden przez `Thelpers.name = fn`. | [data-helpers](/en/jcomponent/data-helpers/) |
| `TOGGLE` | function | Zmienia wartość logiczną w ścieżce. | [state-shortcuts](/en/jcomponent/state-shortcuts/) |
| `Total` | object | Silnik jComponent (ten sam obiekt co `jComponent`). | [find-and-call](/en/jcomponent/find-and-call/) |
| `TRANSLATE` | function | Zastępuje każde `@(text)` jego tłumaczeniem. | [data-helpers](/en/jcomponent/data-helpers/) |
| `UNAUTHORIZED` | function | Prawda, gdy `window.user` nie ma żadnego z podanych uprawnień. | [data-helpers](/en/jcomponent/data-helpers/) |
| `UNWATCH` | function | Usuwa obserwatory ścieżki utworzone przez `WATCH()`. | [state-shortcuts](/en/jcomponent/state-shortcuts/) |
| `UPD` | function | Powiadamia ścieżkę po zmianie obiektu w miejscu. | [state-api](/en/jcomponent/state-api/) |
| `UPDATE` | function | Powiadamia komponenty i obserwatory ścieżki bez jej zmiany (alias `UPD`). | [state-shortcuts](/en/jcomponent/state-shortcuts/) |
| `UPLOAD` | function | Wysyła `FormData` do trasy z postępem. | [upload](/en/jcomponent/upload/) |
| `VISIBLE` | function | Prawda, gdy element jest w widocznej części okna. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `W` | object | Obiekt `window`. | [find-and-call](/en/jcomponent/find-and-call/) |
| `WAIT` | function | Uruchamia funkcję, gdy inna zwróci true lub ścieżka ma wartość; sprawdza co 500 ms. | [state-shortcuts](/en/jcomponent/state-shortcuts/) |
| `WARN` | function | Zapisuje do `console.warn`. | [state-shortcuts](/en/jcomponent/state-shortcuts/) |
| `WATCH` | function | Uruchamia funkcję za każdym razem, gdy zmienia się ścieżka. | [state-api](/en/jcomponent/state-api/) |
| `WH` | number | Wysokość okna. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `WIDTH` | function | Klasa rozmiaru szerokości elementu lub okna: xs, sm, md lub lg. | [dom-helpers](/en/jcomponent/dom-helpers/) |
| `WW` | number | Szerokość okna. | [dom-helpers](/en/jcomponent/dom-helpers/) |

```html public/index.html
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<title>jComponent</title>
	<link rel="stylesheet" href="//cdn.componentator.com/spa.min@20.css" />
	<script src="//cdn.componentator.com/spa.min@20.js"></script>
</head>
<body>
	<p>The test lists the globals of this page.</p>
</body>
</html>
```
