Safe Haskell | None |
---|---|
Language | Haskell2010 |
- js_getCurrentPosition :: Geolocation -> Nullable PositionCallback -> Nullable PositionErrorCallback -> Nullable PositionOptions -> IO ()
- getCurrentPosition :: (MonadIO m, IsPositionOptions options) => Geolocation -> Maybe PositionCallback -> Maybe PositionErrorCallback -> Maybe options -> m ()
- js_watchPosition :: Geolocation -> Nullable PositionCallback -> Nullable PositionErrorCallback -> Nullable PositionOptions -> IO Int
- watchPosition :: (MonadIO m, IsPositionOptions options) => Geolocation -> Maybe PositionCallback -> Maybe PositionErrorCallback -> Maybe options -> m Int
- watchPosition_ :: (MonadIO m, IsPositionOptions options) => Geolocation -> Maybe PositionCallback -> Maybe PositionErrorCallback -> Maybe options -> m ()
- js_clearWatch :: Geolocation -> Int -> IO ()
- clearWatch :: MonadIO m => Geolocation -> Int -> m ()
- newtype Geolocation = Geolocation {}
- gTypeGeolocation :: GType
Documentation
js_getCurrentPosition :: Geolocation -> Nullable PositionCallback -> Nullable PositionErrorCallback -> Nullable PositionOptions -> IO () Source #
getCurrentPosition :: (MonadIO m, IsPositionOptions options) => Geolocation -> Maybe PositionCallback -> Maybe PositionErrorCallback -> Maybe options -> m () Source #
js_watchPosition :: Geolocation -> Nullable PositionCallback -> Nullable PositionErrorCallback -> Nullable PositionOptions -> IO Int Source #
watchPosition :: (MonadIO m, IsPositionOptions options) => Geolocation -> Maybe PositionCallback -> Maybe PositionErrorCallback -> Maybe options -> m Int Source #
watchPosition_ :: (MonadIO m, IsPositionOptions options) => Geolocation -> Maybe PositionCallback -> Maybe PositionErrorCallback -> Maybe options -> m () Source #
js_clearWatch :: Geolocation -> Int -> IO () Source #
clearWatch :: MonadIO m => Geolocation -> Int -> m () Source #
newtype Geolocation Source #
Functions for this inteface are in GHCJS.DOM.Geolocation.