Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ import js.html.EventTarget;
/**
https://facebook.github.io/react/docs/events.html
**/
extern class ReactEvent
extern class SyntheticEvent<NativeEvent>
{
public var bubbles(default, null):Bool;
public var cancelable(default, null):Bool;
public var currentTarget(default, null):EventTarget;
public var defaultPrevented(default, null):Bool;
public var eventPhase(default, null):Int;
public var isTrusted(default, null):Bool;
public var nativeEvent(default, null):Event;
public var nativeEvent(default, null):NativeEvent;
public var target(default, null):EventTarget;
public var timeStamp(default, null):Date;
public var type(default, null):String;
Expand All @@ -23,4 +23,5 @@ extern class ReactEvent
public function isDefaultPrevented():Bool;
public function stopPropagation():Void;
public function isPropagationStopped():Bool;
public function persist():Void;
}