Download for Windows Premium
-50% Premium
Publiciteit
addEventListener

Vertaling van "addEventListener" in Engels

We konden deze vermelding niet vinden. Er worden benaderende resultaten weergegeven. Controleer je spelling of stel voor deze term aan het woordenboek toe te voegen.
addEventListener
Vue offre également un modificateur.passive correspondant à l'option passive de addEventListener.
Vue also offers the.passive modifier, corresponding to addEventListener's passive option.
Lorsqu'une nouvelle fonction d'écouteur est associée à l'aide de la méthode addEventListener.
When a new listener function is attached using addEventListener.
Nous voulons utiliser un gestionnaire de capture d'événements, donc la méthode addEventListener doit être utilisée.
We want to use a capturing event handler, so the addEventListener method needs to be used.
Sous la forme addEventListener, le premier argument de la fonction scrutatrice sera un objet événement.
In the addEventListener form, the first argument to the listener function will be the event object.
Ajoutez ces lignes à votre code, sous les lignes addEventListener()
Add these to your code now, below the addEventListener() lines
Dans le passé, l'appel de addEventListener() avec un écouteur null renvoyait une exception.
In the past, calling addEventListener() with a null listener would throw an exception.
Étant donné qu'un écouteur d'événements a déjà été ajouté en appelant addEventListener(), vous pouvez éventuellement arriver à un point auquel vous devez le supprimer.
Given an event listener previously added by calling addEventListener(), you may eventually come to a point at which you need to remove it.
Nous appelons ensuite addEventListener() pour configurer un faux gestionnaire d'événements, en spécifiant ces options, afin qu'elles soient vérifiées si le navigateur reconnaît un objet comme troisième paramètre.
We then call addEventListener() to set up a fake event handler, specifying those options, so that the options will be checked if the browser recognizes an object as the third parameter.
Si vous voulez vraiment enregistrer un événement dans la phase de capture, vous pouvez le faire en enregistrant votre gestionnaire et en utilisant addEventListener(), sans oublier de régler la troisième propriété optionnelle surtrue.
If you really want to register an event in the capturing phase instead, you can do so by registering your handler using addEventListener(), and setting the optional third property to true.
En second lieu, vous utilisez la méthode addEventListener() pour enregistrer la fonction d'écouteur auprès de la cible de l'événement ou tout autre objet de la liste d'affichage qui appartient au flux d'événements approprié.
Second, you use the addEventListener() method to register your listener function with the target of the event or any display list object that lies along the appropriate event flow.
Notez qu'il est parfaitement approprié de placer tout le code dans la fonction addEventListener(), dans une fonction anonyme, comme ceci
Note that it is perfectly appropriate to put all the code inside the addEventListener() function, in an anonymous function, like this
Si le gestionnaire est attaché à une fonction à l'aide de addEventListener(), la valeur de this dans le gestionnaire est une référence à l'élément.
When attaching a handler function to an element using addEventListener(), the value of this inside the handler is a reference to the element.
Dans la fonction addEventListener(), nous spécifions deux paramètres - le nom de l'événement pour lequel nous voulons enregistrer ce gestionnaire, et le code qui comprend la fonction de gestionnaire que nous voulons exécuter en réponse.
Inside the addEventListener() function, we specify two parameters - the name of the event we want to register this handler for, and the code that comprises the handler function we want to run in response to it.
Er zijn geen resultaten gevonden voor deze term.

Synoniemen voor addEventListener in het Frans

Publiciteit

Resultaten: 50. Exact: 50. Verstreken tijd: 72 ms.