{-# LANGUAGE OverloadedStrings #-}
module Miso.Native.X.Element
(
input_
, textarea_
, overlay_
, svg_
, refresh_
, refreshHeader_
, viewpager_
, viewpagerItem_
, scrollCoordinator_
, scrollCoordinatorHeader_
, scrollCoordinatorSlot_
, scrollCoordinatorToolbar_
, blurView_
, webview_
, titleBarView_
) where
import Miso.Native.Element (lynx_, lynxDirect_)
import Miso.String (MisoString)
import Miso.Types (View, Attribute)
input_ :: [Attribute model action] -> View context model action
input_ :: forall model action context.
[Attribute model action] -> View context model action
input_ [Attribute model action]
attrs = [MisoString]
-> MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
forall model action context.
[MisoString]
-> MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
lynxDirect_ [MisoString]
inputDirectEvents MisoString
"input" [Attribute model action]
attrs []
textarea_ :: [Attribute model action] -> View context model action
textarea_ :: forall model action context.
[Attribute model action] -> View context model action
textarea_ [Attribute model action]
attrs = [MisoString]
-> MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
forall model action context.
[MisoString]
-> MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
lynxDirect_ [MisoString]
inputDirectEvents MisoString
"textarea" [Attribute model action]
attrs []
inputDirectEvents :: [MisoString]
inputDirectEvents :: [MisoString]
inputDirectEvents = [ MisoString
"blur", MisoString
"confirm", MisoString
"focus", MisoString
"input", MisoString
"selection" ]
overlay_ :: [Attribute model action] -> [View context model action] -> View context model action
overlay_ :: forall model action context.
[Attribute model action]
-> [View context model action] -> View context model action
overlay_ = [MisoString]
-> MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
forall model action context.
[MisoString]
-> MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
lynxDirect_
[ MisoString
"dismissoverlay", MisoString
"error", MisoString
"overlaytouch", MisoString
"requestclose", MisoString
"showoverlay" ]
MisoString
"overlay"
svg_ :: [Attribute model action] -> [View context model action] -> View context model action
svg_ :: forall model action context.
[Attribute model action]
-> [View context model action] -> View context model action
svg_ = [MisoString]
-> MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
forall model action context.
[MisoString]
-> MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
lynxDirect_ [ MisoString
"load" ] MisoString
"svg"
refresh_ :: [Attribute model action] -> [View context model action] -> View context model action
refresh_ :: forall model action context.
[Attribute model action]
-> [View context model action] -> View context model action
refresh_ = [MisoString]
-> MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
forall model action context.
[MisoString]
-> MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
lynxDirect_
[ MisoString
"headeroffset", MisoString
"refreshstatechange", MisoString
"startrefresh" ]
MisoString
"refresh"
refreshHeader_ :: [Attribute model action] -> [View context model action] -> View context model action
= MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
forall model action context.
MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
lynx_ MisoString
"refresh-header"
viewpager_ :: [Attribute model action] -> [View context model action] -> View context model action
= [MisoString]
-> MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
forall model action context.
[MisoString]
-> MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
lynxDirect_ [ MisoString
"change", MisoString
"offsetchange", MisoString
"willchange" ] MisoString
"viewpager"
viewpagerItem_ :: [Attribute model action] -> [View context model action] -> View context model action
= MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
forall model action context.
MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
lynx_ MisoString
"viewpager-item"
scrollCoordinator_ :: [Attribute model action] -> [View context model action] -> View context model action
scrollCoordinator_ :: forall model action context.
[Attribute model action]
-> [View context model action] -> View context model action
scrollCoordinator_ = [MisoString]
-> MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
forall model action context.
[MisoString]
-> MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
lynxDirect_ [ MisoString
"offset" ] MisoString
"scroll-coordinator"
scrollCoordinatorHeader_ :: [Attribute model action] -> [View context model action] -> View context model action
= MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
forall model action context.
MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
lynx_ MisoString
"scroll-coordinator-header"
scrollCoordinatorSlot_ :: [Attribute model action] -> [View context model action] -> View context model action
scrollCoordinatorSlot_ :: forall model action context.
[Attribute model action]
-> [View context model action] -> View context model action
scrollCoordinatorSlot_ = MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
forall model action context.
MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
lynx_ MisoString
"scroll-coordinator-slot"
scrollCoordinatorToolbar_ :: [Attribute model action] -> [View context model action] -> View context model action
scrollCoordinatorToolbar_ :: forall model action context.
[Attribute model action]
-> [View context model action] -> View context model action
scrollCoordinatorToolbar_ = MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
forall model action context.
MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
lynx_ MisoString
"scroll-coordinator-toolbar"
blurView_ :: [Attribute model action] -> [View context model action] -> View context model action
blurView_ :: forall model action context.
[Attribute model action]
-> [View context model action] -> View context model action
blurView_ = MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
forall model action context.
MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
lynx_ MisoString
"blur-view"
webview_ :: [Attribute model action] -> View context model action
webview_ :: forall model action context.
[Attribute model action] -> View context model action
webview_ [Attribute model action]
attrs = [MisoString]
-> MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
forall model action context.
[MisoString]
-> MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
lynxDirect_
[ MisoString
"error", MisoString
"load", MisoString
"locationchange", MisoString
"message", MisoString
"openwindow" ]
MisoString
"webview" [Attribute model action]
attrs []
titleBarView_ :: [Attribute model action] -> [View context model action] -> View context model action
titleBarView_ :: forall model action context.
[Attribute model action]
-> [View context model action] -> View context model action
titleBarView_ = MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
forall model action context.
MisoString
-> [Attribute model action]
-> [View context model action]
-> View context model action
lynx_ MisoString
"title-bar-view"