Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- newtype Geolocation = Geolocation {}
- 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 ()
- gTypeGeolocation :: JSM GType
- getCurrentPosition' :: MonadDOM m => Geolocation -> Maybe PositionOptions -> m (Either PositionError Geoposition)
- getCurrentPosition :: MonadDOM m => Geolocation -> Maybe PositionOptions -> m Geoposition
Documentation
newtype Geolocation Source #
Functions for this inteface are in JSDOM.Geolocation.
Instances
FromJSVal Geolocation Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe Geolocation) # fromJSValUnchecked :: JSVal -> JSM Geolocation # fromJSValListOf :: JSVal -> JSM (Maybe [Geolocation]) # fromJSValUncheckedListOf :: JSVal -> JSM [Geolocation] # | |
PFromJSVal Geolocation Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> Geolocation # | |
PToJSVal Geolocation Source # | |
Defined in JSDOM.Types pToJSVal :: Geolocation -> JSVal # | |
ToJSVal Geolocation Source # | |
Defined in JSDOM.Types toJSVal :: Geolocation -> JSM JSVal # toJSValListOf :: [Geolocation] -> JSM JSVal # | |
MakeObject Geolocation Source # | |
Defined in JSDOM.Types makeObject :: Geolocation -> JSM Object # | |
IsGObject Geolocation Source # | |
Defined in JSDOM.Types typeGType :: Geolocation -> JSM GType |
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 #
getCurrentPosition' :: MonadDOM m => Geolocation -> Maybe PositionOptions -> m (Either PositionError Geoposition) Source #