Safe Haskell | None |
---|---|
Language | Haskell2010 |
- getCurrentPosition :: MonadDOM m => Geolocation -> PositionCallback -> Maybe PositionErrorCallback -> Maybe PositionOptions -> m ()
- watchPosition :: MonadDOM m => Geolocation -> PositionCallback -> Maybe PositionErrorCallback -> Maybe PositionOptions -> m Int
- watchPosition_ :: MonadDOM m => Geolocation -> PositionCallback -> Maybe PositionErrorCallback -> Maybe PositionOptions -> m ()
- clearWatch :: MonadDOM m => Geolocation -> Int -> m ()
- newtype Geolocation = Geolocation {}
- gTypeGeolocation :: JSM GType
Documentation
getCurrentPosition :: MonadDOM m => Geolocation -> PositionCallback -> Maybe PositionErrorCallback -> Maybe PositionOptions -> m () Source #
watchPosition :: MonadDOM m => Geolocation -> PositionCallback -> Maybe PositionErrorCallback -> Maybe PositionOptions -> m Int Source #
watchPosition_ :: MonadDOM m => Geolocation -> PositionCallback -> Maybe PositionErrorCallback -> Maybe PositionOptions -> m () Source #
clearWatch :: MonadDOM m => Geolocation -> Int -> m () Source #
newtype Geolocation Source #
Functions for this inteface are in JSDOM.Geolocation.