Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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: