Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- 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.
Instances
PToJSVal Geolocation Source # | |
Defined in JSDOM.Types pToJSVal :: Geolocation -> JSVal # | |
PFromJSVal Geolocation Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> Geolocation # | |
ToJSVal Geolocation Source # | |
Defined in JSDOM.Types toJSVal :: Geolocation -> JSM JSVal # toJSValListOf :: [Geolocation] -> JSM JSVal # | |
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] # | |
MakeObject Geolocation Source # | |
Defined in JSDOM.Types makeObject :: Geolocation -> JSM Object # | |
IsGObject Geolocation Source # | |
Defined in JSDOM.Types typeGType :: Geolocation -> JSM GType |