JavaScript functions ignore any arguments that are not named in the parameter list so it is safe to provide a callback function that only takes a single argument, such as alert.
Les fonctions JavaScript ignorent les arguments supplémentaires qui ne sont pas déclarés explicitement dans la liste des paramètres, on peut donc utiliser une fonction prenant un seul argument comme fonction de rappel.
The javascript functions are used to guide the tower, and to get a callback from a rotation.
Our callback function will be passed the jsonData, which, because we're working in JavaScript, will automatically be parsed into native objects.
La fonction de rappel sera convertie par jsonData, qui, puisque nous travaillons en JavaScript, sera automatiquement convertie en objets natifs.
Share The Cookiebot script loads and constructs a client side JavaScript object named 'Cookiebot' which exposes the following public properties, methods, events and callback functions.
Partager Le script Cookiebot charge et construit un objet Javascript côté client nommé 'Cookiebot' qui présente les propriétés publiques, méthodes, événements et fonctions de rappel suivantes.
Once authorized, the provider redirects to oauth.io which will request the token and send back to the JavaScript callback in the OAuth.popup/ OAuth.callback.
Une fois authentifié, le provider redirige vers OAuth.io, qui fera la demande du token et le renverra à la fonction de callback JavaScript.
For example, in JavaScript, you can create a handler for the basic window resize event, which is a simple callback function, as in the next code example.
Par exemple, en JavaScript, vous pouvez créer un gestionnaire pour l'événement standard de redimensionnement de fenêtre. Dans ce cas, il s'agit d'une simple fonction de rappel, comme dans l'exemple de code ci-dessous.
The code uses the jQuery function $.getJSON, which performs the Ajax call and, on response, stores the weekdays names in a local JavaScript variable data and passes the variable to the callback function.
Le code utilise la fonction jQuery $.getJSON, qui effectue l'appel Ajax, et lors de la réponse stocke les noms des jours de la semaine dans une variable locale JavaScript data et passe la variable à la fonction de callback.
Kameleoon will run the test only when receiving the JavaScript event.
Kameleoon ne lancera le test que lorsque l'évènement JavaScript sera reçu.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.