Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- pattern PERMISSION_DENIED :: forall a. (Eq a, Num a) => a
- pattern POSITION_UNAVAILABLE :: forall a. (Eq a, Num a) => a
- pattern TIMEOUT :: forall a. (Eq a, Num a) => a
- getCode :: MonadDOM m => PositionError -> m Word
- getMessage :: (MonadDOM m, FromJSString result) => PositionError -> m result
- newtype PositionError = PositionError {}
- gTypePositionError :: JSM GType
Documentation
pattern PERMISSION_DENIED :: forall a. (Eq a, Num a) => a Source #
pattern POSITION_UNAVAILABLE :: forall a. (Eq a, Num a) => a Source #
getMessage :: (MonadDOM m, FromJSString result) => PositionError -> m result Source #
newtype PositionError Source #
Functions for this inteface are in JSDOM.PositionError.
Instances
PToJSVal PositionError Source # | |
Defined in JSDOM.Types pToJSVal :: PositionError -> JSVal # | |
PFromJSVal PositionError Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> PositionError # | |
ToJSVal PositionError Source # | |
Defined in JSDOM.Types toJSVal :: PositionError -> JSM JSVal # toJSValListOf :: [PositionError] -> JSM JSVal # | |
FromJSVal PositionError Source # | |
Defined in JSDOM.Types fromJSVal :: JSVal -> JSM (Maybe PositionError) # fromJSValUnchecked :: JSVal -> JSM PositionError # fromJSValListOf :: JSVal -> JSM (Maybe [PositionError]) # fromJSValUncheckedListOf :: JSVal -> JSM [PositionError] # | |
MakeObject PositionError Source # | |
Defined in JSDOM.Types makeObject :: PositionError -> JSM Object # | |
IsGObject PositionError Source # | |
Defined in JSDOM.Types typeGType :: PositionError -> JSM GType |