Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- initDeviceOrientationEvent :: (MonadDOM m, ToJSString type') => DeviceOrientationEvent -> Maybe type' -> Bool -> Bool -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Bool -> m ()
- getAlpha :: MonadDOM m => DeviceOrientationEvent -> m (Maybe Double)
- getAlphaUnsafe :: (MonadDOM m, HasCallStack) => DeviceOrientationEvent -> m Double
- getAlphaUnchecked :: MonadDOM m => DeviceOrientationEvent -> m Double
- getBeta :: MonadDOM m => DeviceOrientationEvent -> m (Maybe Double)
- getBetaUnsafe :: (MonadDOM m, HasCallStack) => DeviceOrientationEvent -> m Double
- getBetaUnchecked :: MonadDOM m => DeviceOrientationEvent -> m Double
- getGamma :: MonadDOM m => DeviceOrientationEvent -> m (Maybe Double)
- getGammaUnsafe :: (MonadDOM m, HasCallStack) => DeviceOrientationEvent -> m Double
- getGammaUnchecked :: MonadDOM m => DeviceOrientationEvent -> m Double
- getAbsolute :: MonadDOM m => DeviceOrientationEvent -> m (Maybe Bool)
- getAbsoluteUnsafe :: (MonadDOM m, HasCallStack) => DeviceOrientationEvent -> m Bool
- getAbsoluteUnchecked :: MonadDOM m => DeviceOrientationEvent -> m Bool
- newtype DeviceOrientationEvent = DeviceOrientationEvent {}
- gTypeDeviceOrientationEvent :: JSM GType
Documentation
initDeviceOrientationEvent :: (MonadDOM m, ToJSString type') => DeviceOrientationEvent -> Maybe type' -> Bool -> Bool -> Maybe Double -> Maybe Double -> Maybe Double -> Maybe Bool -> m () Source #
getAlphaUnsafe :: (MonadDOM m, HasCallStack) => DeviceOrientationEvent -> m Double Source #
getAlphaUnchecked :: MonadDOM m => DeviceOrientationEvent -> m Double Source #
getBetaUnsafe :: (MonadDOM m, HasCallStack) => DeviceOrientationEvent -> m Double Source #
getBetaUnchecked :: MonadDOM m => DeviceOrientationEvent -> m Double Source #
getGammaUnsafe :: (MonadDOM m, HasCallStack) => DeviceOrientationEvent -> m Double Source #
getGammaUnchecked :: MonadDOM m => DeviceOrientationEvent -> m Double Source #
getAbsolute :: MonadDOM m => DeviceOrientationEvent -> m (Maybe Bool) Source #
getAbsoluteUnsafe :: (MonadDOM m, HasCallStack) => DeviceOrientationEvent -> m Bool Source #
getAbsoluteUnchecked :: MonadDOM m => DeviceOrientationEvent -> m Bool Source #
newtype DeviceOrientationEvent Source #
Functions for this inteface are in JSDOM.DeviceOrientationEvent. Base interface functions are in:
Instances
PToJSVal DeviceOrientationEvent Source # | |
Defined in JSDOM.Types pToJSVal :: DeviceOrientationEvent -> JSVal # | |
PFromJSVal DeviceOrientationEvent Source # | |
Defined in JSDOM.Types | |
ToJSVal DeviceOrientationEvent Source # | |
Defined in JSDOM.Types toJSVal :: DeviceOrientationEvent -> JSM JSVal # toJSValListOf :: [DeviceOrientationEvent] -> JSM JSVal # | |
FromJSVal DeviceOrientationEvent Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe DeviceOrientationEvent) # fromJSValUnchecked :: JSVal -> JSM DeviceOrientationEvent # fromJSValListOf :: JSVal -> JSM (Maybe [DeviceOrientationEvent]) # fromJSValUncheckedListOf :: JSVal -> JSM [DeviceOrientationEvent] # | |
MakeObject DeviceOrientationEvent Source # | |
Defined in JSDOM.Types | |
IsEvent DeviceOrientationEvent Source # | |
Defined in JSDOM.Types | |
IsGObject DeviceOrientationEvent Source # | |
Defined in JSDOM.Types |