{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE OverloadedStrings #-}
module Miso.Native.Event
(
nativeEvents
, nativeXEvents
) where
import Miso.Native.Element.Frame.Event (frameEvents)
import Miso.Native.Element.Image.Event (imageEvents)
import Miso.Native.Element.List.Event (listEvents)
import Miso.Native.Element.ScrollView.Event (scrollViewEvents)
import Miso.Native.Element.Text.Event (textEvents)
import Miso.Native.Element.View.Event (viewEvents)
import Miso.Native.X.Element.Input.Event (inputEvents)
import Miso.Native.X.Element.Overlay.Event (overlayEvents)
import Miso.Native.X.Element.Refresh.Event (refreshEvents)
import Miso.Native.X.Element.ScrollCoordinator.Event (scrollCoordinatorEvents)
import Miso.Native.X.Element.Svg.Event (svgEvents)
import Miso.Native.X.Element.Textarea.Event (textareaEvents)
import Miso.Native.X.Element.Viewpager.Event (viewpagerEvents)
import Miso.Native.X.Element.Webview.Event (webviewEvents)
import Miso.Event (Events)
nativeEvents :: Events
nativeEvents :: Map MisoString Phase
nativeEvents = [Map MisoString Phase] -> Map MisoString Phase
forall a. Monoid a => [a] -> a
mconcat
[ Map MisoString Phase
frameEvents
, Map MisoString Phase
imageEvents
, Map MisoString Phase
listEvents
, Map MisoString Phase
scrollViewEvents
, Map MisoString Phase
textEvents
, Map MisoString Phase
viewEvents
]
nativeXEvents :: Events
nativeXEvents :: Map MisoString Phase
nativeXEvents = [Map MisoString Phase] -> Map MisoString Phase
forall a. Monoid a => [a] -> a
mconcat
[ Map MisoString Phase
inputEvents
, Map MisoString Phase
overlayEvents
, Map MisoString Phase
refreshEvents
, Map MisoString Phase
scrollCoordinatorEvents
, Map MisoString Phase
svgEvents
, Map MisoString Phase
textareaEvents
, Map MisoString Phase
viewpagerEvents
, Map MisoString Phase
webviewEvents
]