Browse Source

Add reference to persist to SyntheticEvent's API (#2274)

Since persist() is referred to in the doc as a method for disabling event pooling, that must mean it's part of the SyntheticEvent API.

I'm proposing to state it more explicitly so that there's no doubt for newcomers like me whether it is the SyntheticEvent or the actual JS event that has the method.
main
Steve Dodier-Lazaro 5 years ago
committed by GitHub
parent
commit
2c8f5695ba
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      content/docs/reference-events.md

1
content/docs/reference-events.md

@ -26,6 +26,7 @@ void preventDefault()
boolean isDefaultPrevented()
void stopPropagation()
boolean isPropagationStopped()
void persist()
DOMEventTarget target
number timeStamp
string type

Loading…
Cancel
Save