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.
Vue also offers the.passive modifier, corresponding to addEventListener's passive option.
Vue offre également un modificateur.passive correspondant à l'option passive de addEventListener.
We want to use a capturing event handler, so the addEventListener method needs to be used.
Nous voulons utiliser un gestionnaire de capture d'événements, donc la méthode addEventListener doit être utilisée.
In the addEventListener form, the first argument to the listener function will be the event object.
Sous la forme addEventListener, le premier argument de la fonction scrutatrice sera un objet événement.
First of all, add the following two addEventListener() lines below the previous ones
Tout d'abord, ajoutez les lignes addEventListener() suivantes à la suite des précédentes
In the past, calling addEventListener() with a null listener would throw an exception.
Dans le passé, l'appel de addEventListener() avec un écouteur null renvoyait une exception.
Given an event listener previously added by calling addEventListener(), you may eventually come to a point at which you need to remove it.
É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.
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.
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.
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.
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.
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.
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é.
Note that it is perfectly appropriate to put all the code inside the addEventListener() function, in an anonymous function, like this
Notez qu'il est parfaitement approprié de placer tout le code dans la fonction addEventListener(), dans une fonction anonyme, comme ceci
When attaching a handler function to an element using addEventListener(), the value of this inside the handler is a reference to the element.
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.
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.
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.
Here's a shortcut to save you some time in this instance: addEventListener().
Voici un raccourci pour gagner un peu de temps dans le cas présent : addEventListener().
Potentieel gevoelige of ongepaste informatie
Er worden alleen voorbeelden gegeven om u te helpen het woord of de woordcombinatie waarop u hebt gezocht, te vertalen. Deze worden niet door ons geselecteerd of gevalideerd en kunnen ongepaste taal bevatten. Wij vragen u melding te maken van voorbeelden die dienen te worden aangepast of verwijderd. Vertalingen met grof of informeel taalgebruik worden meestal rood of oranje gemarkeerd.