File tree 1 file changed +7
-9
lines changed 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -759,7 +759,13 @@ SyntheticWheelEvent createSyntheticWheelEvent({
759
759
}) as SyntheticWheelEvent ;
760
760
}
761
761
762
- extension SyntheticEventTypeHelpers on SyntheticEvent {
762
+ extension SyntheticEventHelper on SyntheticEvent {
763
+ /// Whether the event instance has been removed from the ReactJS event pool.
764
+ ///
765
+ /// > See: [persist]
766
+ @Deprecated ('The modern event system does not use pooling. This always returns true.' )
767
+ bool get isPersistent => true ;
768
+
763
769
/// Uses Duck Typing to detect if the event instance is a [SyntheticClipboardEvent] .
764
770
bool get isClipboardEvent => hasProperty (this , 'clipboardData' );
765
771
@@ -794,14 +800,6 @@ extension SyntheticEventTypeHelpers on SyntheticEvent {
794
800
bool get isWheelEvent => hasProperty (this , 'deltaX' );
795
801
}
796
802
797
- extension SyntheticEventHelper on SyntheticEvent {
798
- /// Whether the event instance has been removed from the ReactJS event pool.
799
- ///
800
- /// > See: [persist]
801
- @Deprecated ('The modern event system does not use pooling. This always returns true.' )
802
- bool get isPersistent => true ;
803
- }
804
-
805
803
extension DataTransferHelper on SyntheticMouseEvent {
806
804
/// The data that is transferred during a drag and drop interaction.
807
805
///
You can’t perform that action at this time.
0 commit comments