Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getCurrentPosition :: (MonadDOM m, IsPositionOptions options) => Geolocation -> Maybe PositionCallback -> Maybe PositionErrorCallback -> Maybe options -> m ()
- watchPosition :: (MonadDOM m, IsPositionOptions options) => Geolocation -> Maybe PositionCallback -> Maybe PositionErrorCallback -> Maybe options -> m Int
- clearWatch :: MonadDOM m => Geolocation -> Int -> m ()
- data Geolocation
- castToGeolocation :: IsGObject obj => obj -> JSM Geolocation
- gTypeGeolocation :: JSM GType
Documentation
getCurrentPosition :: (MonadDOM m, IsPositionOptions options) => Geolocation -> Maybe PositionCallback -> Maybe PositionErrorCallback -> Maybe options -> m () Source #
watchPosition :: (MonadDOM m, IsPositionOptions options) => Geolocation -> Maybe PositionCallback -> Maybe PositionErrorCallback -> Maybe options -> m Int Source #
clearWatch :: MonadDOM m => Geolocation -> Int -> m () Source #
data Geolocation Source #
Functions for this inteface are in JSDOM.Geolocation.
castToGeolocation :: IsGObject obj => obj -> JSM Geolocation Source #