Module
Reactix.SyntheticEvent
- Package
- purescript-reactix
- Repository
- garganscript/purescript-reactix
https://reactjs.org/docs/events.html
#SyntheticEvent Source
data SyntheticEvent t0
#unsafeEventValue Source
unsafeEventValue :: forall event. event -> String
#unsafeEventTarget Source
unsafeEventTarget :: forall event. event -> Element
#cancelable Source
cancelable :: forall e. IsEvent e => SyntheticEvent e -> Boolean
#defaultPrevented Source
defaultPrevented :: forall e. IsEvent e => SyntheticEvent e -> Boolean
#eventPhase Source
eventPhase :: forall e. IsEvent e => SyntheticEvent e -> Number
#currentTarget Source
currentTarget :: forall e. IsEvent e => SyntheticEvent e -> Element
#nativeEvent Source
nativeEvent :: forall e. IsEvent e => SyntheticEvent e -> e
#stopPropagation Source
stopPropagation :: forall e. IsEvent e => SyntheticEvent e -> Effect Unit
#preventDefault Source
preventDefault :: forall e. IsEvent e => SyntheticEvent e -> Effect Unit
#isPropagationStopped Source
isPropagationStopped :: forall e. IsEvent e => SyntheticEvent e -> Effect Unit
#isDefaultPrevented Source
isDefaultPrevented :: forall e. IsEvent e => SyntheticEvent e -> Effect Unit
#altKey Source
altKey :: forall e. HasModifierKeys e => SyntheticEvent e -> Boolean
#ctrlKey Source
ctrlKey :: forall e. HasModifierKeys e => SyntheticEvent e -> Boolean
#shiftKey Source
shiftKey :: forall e. HasModifierKeys e => SyntheticEvent e -> Boolean
#metaKey Source
metaKey :: forall e. HasModifierKeys e => SyntheticEvent e -> Boolean
#getModifierState Source
getModifierState :: forall e. HasModifierKeys e => SyntheticEvent e -> String -> Boolean
#key Source
key :: SyntheticEvent KeyboardEvent -> String
#buttons Source
buttons :: forall e. IsMouseEvent e => SyntheticEvent e -> Number
#clientX Source
clientX :: forall e. IsMouseEvent e => SyntheticEvent e -> Number
#clientY Source
clientY :: forall e. IsMouseEvent e => SyntheticEvent e -> Number
#pageX Source
pageX :: forall e. IsMouseEvent e => SyntheticEvent e -> Number
#pageY Source
pageY :: forall e. IsMouseEvent e => SyntheticEvent e -> Number
#screenX Source
screenX :: forall e. IsMouseEvent e => SyntheticEvent e -> Number
#screenY Source
screenY :: forall e. IsMouseEvent e => SyntheticEvent e -> Number