Skip to content

Commit

Permalink
ajax: Naja initialization info [Closes #1053]
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Dec 18, 2024
1 parent 0b8fdc7 commit d66df6b
Show file tree
Hide file tree
Showing 16 changed files with 96 additions and 0 deletions.
6 changes: 6 additions & 0 deletions application/bg/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ npm install naja
<script src="https://unpkg.com/naja@2/dist/Naja.min.js"></script>
```

Първо трябва да [инициализирате |https://naja.js.org/#/guide/01-install-setup-naja?id=initialization] библиотеката:

```js
naja.initialize();
```

За да превърнете обикновена връзка (сигнал) или подаване на форма в AJAX заявка, просто маркирайте съответната връзка, форма или бутон с класа `ajax`:

```html
Expand Down
6 changes: 6 additions & 0 deletions application/cs/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ npm install naja
<script src="https://unpkg.com/naja@2/dist/Naja.min.js"></script>
```

Nejprve je potřeba knihovnu [inicializovat |https://naja.js.org/#/guide/01-install-setup-naja?id=initialization]:

```js
naja.initialize();
```

Aby se z obyčejného odkazu (signálu) nebo odeslání formuláře vytvořil AJAXový požadavek, stačí označit příslušný odkaz, formulář nebo tlačítko třídou `ajax`:

```html
Expand Down
6 changes: 6 additions & 0 deletions application/de/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ npm install naja
<script src="https://unpkg.com/naja@2/dist/Naja.min.js"></script>
```

Zunächst müssen Sie die Bibliothek [initialisieren |https://naja.js.org/#/guide/01-install-setup-naja?id=initialization]:

```js
naja.initialize();
```

Um einen gewöhnlichen Link (Signal) oder eine Formularübermittlung zu einer AJAX-Anfrage zu machen, markieren Sie einfach den entsprechenden Link, das Formular oder die Schaltfläche mit der Klasse `ajax`:

```html
Expand Down
6 changes: 6 additions & 0 deletions application/el/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ npm install naja
<script src="https://unpkg.com/naja@2/dist/Naja.min.js"></script>
```

Πρώτα πρέπει να [αρχικοποιήσετε |https://naja.js.org/#/guide/01-install-setup-naja?id=initialization] τη βιβλιοθήκη:

```js
naja.initialize();
```

Για να μετατρέψετε έναν συνηθισμένο σύνδεσμο (σήμα) ή την υποβολή φόρμας σε αίτηση AJAX, απλά σημειώστε τον αντίστοιχο σύνδεσμο, φόρμα ή κουμπί με την κλάση `ajax`:

```html
Expand Down
6 changes: 6 additions & 0 deletions application/en/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ npm install naja
<script src="https://unpkg.com/naja@2/dist/Naja.min.js"></script>
```

First you need to [initialize |https://naja.js.org/#/guide/01-install-setup-naja?id=initialization] the library:

```js
naja.initialize();
```

To make an ordinary link (signal) or form submission an AJAX request, simply mark the respective link, form, or button with the `ajax` class:

```html
Expand Down
6 changes: 6 additions & 0 deletions application/es/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ npm install naja
<script src="https://unpkg.com/naja@2/dist/Naja.min.js"></script>
```

Primero hay que [inicializar |https://naja.js.org/#/guide/01-install-setup-naja?id=initialization] la biblioteca:

```js
naja.initialize();
```

Para convertir un enlace ordinario (señal) o el envío de un formulario en una petición AJAX, basta con marcar el enlace, formulario o botón correspondiente con la clase `ajax`:

```html
Expand Down
6 changes: 6 additions & 0 deletions application/fr/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ npm install naja
<script src="https://unpkg.com/naja@2/dist/Naja.min.js"></script>
```

Vous devez d'abord [initialiser |https://naja.js.org/#/guide/01-install-setup-naja?id=initialization] la bibliothèque :

```js
naja.initialize();
```

Pour faire d'un lien ordinaire (signal) ou d'une soumission de formulaire une requête AJAX, il suffit de marquer le lien, le formulaire ou le bouton correspondant avec la classe `ajax`:

```html
Expand Down
6 changes: 6 additions & 0 deletions application/hu/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ npm install naja
<script src="https://unpkg.com/naja@2/dist/Naja.min.js"></script>
```

Először [inicializálni |https://naja.js.org/#/guide/01-install-setup-naja?id=initialization] kell a könyvtárat:

```js
naja.initialize();
```

Ahhoz, hogy egy közönséges linket (jelet) vagy űrlapküldést AJAX-kérelemmé tegyen, egyszerűen jelölje meg az adott linket, űrlapot vagy gombot a `ajax` osztállyal:

```html
Expand Down
6 changes: 6 additions & 0 deletions application/it/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ npm install naja
<script src="https://unpkg.com/naja@2/dist/Naja.min.js"></script>
```

Per prima cosa è necessario [inizializzare |https://naja.js.org/#/guide/01-install-setup-naja?id=initialization] la libreria:

```js
naja.initialize();
```

Per rendere un normale link (segnale) o l'invio di un modulo una richiesta AJAX, è sufficiente contrassegnare il rispettivo link, modulo o pulsante con la classe `ajax`:

```html
Expand Down
6 changes: 6 additions & 0 deletions application/pl/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ npm install naja
<script src="https://unpkg.com/naja@2/dist/Naja.min.js"></script>
```

Najpierw należy [zainicjować |https://naja.js.org/#/guide/01-install-setup-naja?id=initialization] bibliotekę:

```js
naja.initialize();
```

Aby uczynić zwykły link (sygnał) lub przesłanie formularza żądaniem AJAX, wystarczy oznaczyć odpowiedni link, formularz lub przycisk klasą `ajax`:

```html
Expand Down
6 changes: 6 additions & 0 deletions application/pt/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ npm install naja
<script src="https://unpkg.com/naja@2/dist/Naja.min.js"></script>
```

Primeiro, você precisa [inicializar |https://naja.js.org/#/guide/01-install-setup-naja?id=initialization] a biblioteca:

```js
naja.initialize();
```

Para transformar um link comum (sinal) ou o envio de um formulário em uma solicitação AJAX, basta marcar o respectivo link, formulário ou botão com a classe `ajax`:

```html
Expand Down
6 changes: 6 additions & 0 deletions application/ro/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ npm install naja
<script src="https://unpkg.com/naja@2/dist/Naja.min.js"></script>
```

Mai întâi trebuie să [inițializați |https://naja.js.org/#/guide/01-install-setup-naja?id=initialization] biblioteca:

```js
naja.initialize();
```

Pentru a transforma un link obișnuit (semnal) sau un formular de trimitere într-o cerere AJAX, este suficient să marcați link-ul, formularul sau butonul respectiv cu clasa `ajax`:

```html
Expand Down
6 changes: 6 additions & 0 deletions application/ru/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ npm install naja
<script src="https://unpkg.com/naja@2/dist/Naja.min.js"></script>
```

Сначала нужно [инициализировать |https://naja.js.org/#/guide/01-install-setup-naja?id=initialization] библиотеку:

```js
naja.initialize();
```

Чтобы превратить обычную ссылку (сигнал) или отправку формы в AJAX-запрос, достаточно пометить соответствующую ссылку, форму или кнопку классом `ajax`:

```html
Expand Down
6 changes: 6 additions & 0 deletions application/sl/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ npm install naja
<script src="https://unpkg.com/naja@2/dist/Naja.min.js"></script>
```

Najprej morate knjižnico [inicializirati |https://naja.js.org/#/guide/01-install-setup-naja?id=initialization]:

```js
naja.initialize();
```

Če želite, da običajna povezava (signal) ali oddaja obrazca postane zahteva AJAX, preprosto označite ustrezno povezavo, obrazec ali gumb z razredom `ajax`:

```html
Expand Down
6 changes: 6 additions & 0 deletions application/tr/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ npm install naja
<script src="https://unpkg.com/naja@2/dist/Naja.min.js"></script>
```

Öncelikle kütüphaneyi [başlatmanız |https://naja.js.org/#/guide/01-install-setup-naja?id=initialization] gerekir:

```js
naja.initialize();
```

Sıradan bir bağlantıyı (sinyal) veya form gönderimini AJAX isteği haline getirmek için ilgili bağlantıyı, formu veya düğmeyi `ajax` sınıfıyla işaretlemeniz yeterlidir:

```html
Expand Down
6 changes: 6 additions & 0 deletions application/uk/ajax.texy
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ npm install naja
<script src="https://unpkg.com/naja@2/dist/Naja.min.js"></script>
```

Спочатку потрібно [ініціалізувати |https://naja.js.org/#/guide/01-install-setup-naja?id=initialization] бібліотеку:

```js
naja.initialize();
```

Щоб зробити звичайне посилання (сигнал) або відправку форми AJAX-запитом, просто позначте відповідне посилання, форму або кнопку класом `ajax`:

```html
Expand Down

0 comments on commit d66df6b

Please sign in to comment.