Module
React.Basic.Native.Events
- Package
- purescript-react-basic-native
- Repository
- dwhitney/purescript-react-basic-native
#NativeSyntheticEvent Source
data NativeSyntheticEvent :: Type -> Type
#EventHandler Source
type EventHandler e = EffectFn1 (NativeSyntheticEvent e) Unit
#handler Source
handler :: forall a e. EventFn (NativeSyntheticEvent e) a -> (a -> Effect Unit) -> EventHandler e
#capture Source
capture :: forall a e. EventFn (NativeSyntheticEvent e) a -> (a -> Effect Unit) -> EventHandler e
#nativeEvent Source
nativeEvent :: forall e. EventFn (NativeSyntheticEvent e) e
#preventDefault Source
preventDefault :: forall e. EventFn (NativeSyntheticEvent e) (NativeSyntheticEvent e)
#stopPropagation Source
stopPropagation :: forall e. EventFn (NativeSyntheticEvent e) (NativeSyntheticEvent e)
#currentTarget Source
currentTarget :: forall e. EventFn (NativeSyntheticEvent e) Number
#cancelable Source
cancelable :: forall e. EventFn (NativeSyntheticEvent e) Boolean
#defaultPrevented Source
defaultPrevented :: forall e. EventFn (NativeSyntheticEvent e) Boolean
#eventPhase Source
eventPhase :: forall e. EventFn (NativeSyntheticEvent e) Number
#isDefaultPrevented Source
isDefaultPrevented :: forall e. EventFn (NativeSyntheticEvent e) Boolean
#isPropagationStopped Source
isPropagationStopped :: forall e. EventFn (NativeSyntheticEvent e) Boolean