Download for Windows Premium
Publiciteit
objet event
event object
Si aucun thread n'est en attente, l'objet event garde l'état "signalé".
If no threads are waiting, the event object's state remains signaled.
Mozilla passe un objet event aux gestionnaires d'évènements.
Mozilla passes an event object to event handlers.
Chaque gestionnaire d'événement dispose d'un unique argument qui contient un objet event.
Each event handler has a single argument which holds an event object.
L'objet event a deux propriétés qui contiennent la touche pressée.
The key event object has two properties which hold the key that was pressed.
Vous pouvez également accéder facilement au controller dans n'importe quel callback via l'objet event
You can access the controller in any callback method from the event object
Notez la façon dont l'objet event est passé comme paramètre event à cette fonction enveloppante.
Note how the event object is passed as parameter event to this wrapper function.
Nous pouvons aussi obtenir l'état final des objets dans le cas où d'autres listeners ont modifié le sujet ou l'objet event.
We can also get the final state of the objects in the case that other listeners have modified the subject or event object.
Le premier argument de la fonction d'écouteur est un objet event - il contient des informations utiles sur l'événement qui s'est passé.
The first argument of the listener function is an event object - it contains useful information about the event that happened.
Au lieu de leurs arguments précédents, ils attendent un objet event en premier argument
Instead of their previous arguments, they need to expect an event object as their first argument
Une chose importante que vous devriez considérer est que les événements qui seront attrapés auront le même nom mais des sujets différents, ainsi le vérifier dans l'objet event est habituellement nécessaire dans toute fonction qui devient attachée globalement afin d'éviter tout bug.
One important thing you should consider is that there are events that will be triggered having the same name but different subjects, so checking it in the event object is usually required in any function that gets attached globally in order to prevent some bugs.
Les résultats d'événement peuvent être modifiés soit en utilisant directement la propriété result de l'objet event ou en retournant une valeur dans le callback lui même.
Event results can be altered either using the event object result property directly or returning the value in the callback itself
Récupération de l'objet event.
Getting the event object.
Les résultats d'Event peuvent être modifiés soit en utilisant directement la propriété de résultat de toute propriété d'un objet event et d'avoir les nouvelles données passées à la prochaine callback.
It is possible to alter any event object property and have the new data passed to the next callback.
Er zijn geen resultaten gevonden voor deze term.

Synoniemen voor objet event in het Frans

Publiciteit

Suggesties

Resultaten: 30. Exact: 30. Verstreken tijd: 35 ms.