Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newWheelEvent :: (MonadDOM m, ToJSString type') => type' -> Maybe WheelEventInit -> m WheelEvent
- initWebKitWheelEvent :: MonadDOM m => WheelEvent -> Maybe Int -> Maybe Int -> Maybe Window -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> Bool -> Bool -> Bool -> Bool -> m ()
- pattern DOM_DELTA_PIXEL :: forall a. (Eq a, Num a) => a
- pattern DOM_DELTA_LINE :: forall a. (Eq a, Num a) => a
- pattern DOM_DELTA_PAGE :: forall a. (Eq a, Num a) => a
- getDeltaX :: MonadDOM m => WheelEvent -> m Double
- getDeltaY :: MonadDOM m => WheelEvent -> m Double
- getDeltaZ :: MonadDOM m => WheelEvent -> m Double
- getDeltaMode :: MonadDOM m => WheelEvent -> m Word
- getWheelDeltaX :: MonadDOM m => WheelEvent -> m Int
- getWheelDeltaY :: MonadDOM m => WheelEvent -> m Int
- getWheelDelta :: MonadDOM m => WheelEvent -> m Int
- getWebkitDirectionInvertedFromDevice :: MonadDOM m => WheelEvent -> m Bool
- newtype WheelEvent = WheelEvent {}
- gTypeWheelEvent :: JSM GType
Documentation
newWheelEvent :: (MonadDOM m, ToJSString type') => type' -> Maybe WheelEventInit -> m WheelEvent Source #
initWebKitWheelEvent :: MonadDOM m => WheelEvent -> Maybe Int -> Maybe Int -> Maybe Window -> Maybe Int -> Maybe Int -> Maybe Int -> Maybe Int -> Bool -> Bool -> Bool -> Bool -> m () Source #
pattern DOM_DELTA_PIXEL :: forall a. (Eq a, Num a) => a Source #
pattern DOM_DELTA_LINE :: forall a. (Eq a, Num a) => a Source #
pattern DOM_DELTA_PAGE :: forall a. (Eq a, Num a) => a Source #
getDeltaMode :: MonadDOM m => WheelEvent -> m Word Source #
getWheelDeltaX :: MonadDOM m => WheelEvent -> m Int Source #
getWheelDeltaY :: MonadDOM m => WheelEvent -> m Int Source #
getWheelDelta :: MonadDOM m => WheelEvent -> m Int Source #
getWebkitDirectionInvertedFromDevice :: MonadDOM m => WheelEvent -> m Bool Source #
newtype WheelEvent Source #
Functions for this inteface are in JSDOM.WheelEvent. Base interface functions are in:
Instances
PToJSVal WheelEvent Source # | |
Defined in JSDOM.Types pToJSVal :: WheelEvent -> JSVal # | |
PFromJSVal WheelEvent Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> WheelEvent # | |
ToJSVal WheelEvent Source # | |
Defined in JSDOM.Types toJSVal :: WheelEvent -> JSM JSVal # toJSValListOf :: [WheelEvent] -> JSM JSVal # | |
FromJSVal WheelEvent Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe WheelEvent) # fromJSValUnchecked :: JSVal -> JSM WheelEvent # fromJSValListOf :: JSVal -> JSM (Maybe [WheelEvent]) # fromJSValUncheckedListOf :: JSVal -> JSM [WheelEvent] # | |
MakeObject WheelEvent Source # | |
Defined in JSDOM.Types makeObject :: WheelEvent -> JSM Object # | |
IsUIEvent WheelEvent Source # | |
Defined in JSDOM.Types | |
IsMouseEvent WheelEvent Source # | |
Defined in JSDOM.Types | |
IsEvent WheelEvent Source # | |
Defined in JSDOM.Types | |
IsGObject WheelEvent Source # | |
Defined in JSDOM.Types typeGType :: WheelEvent -> JSM GType |