You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/docs/reference-events.md
+3-36Lines changed: 3 additions & 36 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -62,10 +62,9 @@ function onClick(event) {
62
62
63
63
> Nota:
64
64
>
65
-
<<<<<<< HEAD
66
65
> Si desea acceder a las propiedades del evento de forma asíncrona, debe llamar a `event.persist()` en el evento, lo que eliminará el evento sintético del grupo y permitirá que el código de usuario retenga las referencias al evento.
67
66
68
-
## Eventos Soportados
67
+
## Eventos Soportados {#supported-events}
69
68
70
69
React normaliza los eventos para que tengan propiedades consistentes en diferentes navegadores.
71
70
@@ -90,41 +89,9 @@ Los controladores de eventos a continuación se activan por un evento en la fase
90
89
91
90
* * *
92
91
93
-
## Referencia
92
+
## Referencia {#reference}
94
93
95
-
### Eventos del Portapapeles
96
-
=======
97
-
> If you want to access the event properties in an asynchronous way, you should call `event.persist()` on the event, which will remove the synthetic event from the pool and allow references to the event to be retained by user code.
98
-
99
-
## Supported Events {#supported-events}
100
-
101
-
React normalizes events so that they have consistent properties across different browsers.
102
-
103
-
The event handlers below are triggered by an event in the bubbling phase. To register an event handler for the capture phase, append `Capture` to the event name; for example, instead of using `onClick`, you would use `onClickCapture` to handle the click event in the capture phase.
0 commit comments