Examples with "a (callback) function in JavaScript" and their translation in French
We couldn’t find this entry. Showing approximate results. Check your spelling or suggest adding this term to the dictionary.
For this reason, the analytics.js library allows you to define a (callback) function in JavaScript which will be called every time an ad blocker is detected.
Pour cette raison, La librairie analytics.js vous permet de définir une fonction en javascript qui sera appelée à chaque détection d'un bloqueur de publicités.
Other results
JavaScript works best with events and callback functions.
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.
The API's format=json accepts a callback parameter, whose value is a JavaScript function which the JSON result will be wrapped in.
L'API format=json accepte un paramètre callback dont la valeur est une fonction JavaScript dans laquelle la sortie JSON sera empaquetée.
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.
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 new string constructed in C# is then used by Edge.js as the result parameter when invoking the JavaScript callback function in line 10.
La nouvelle chaîne obtenue en C# est ensuite passée à Edge.js dans le paramètre result quand la callback JavaScript est invoquée à la ligne 10.
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.
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.
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.