Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newURL :: (MonadDOM m, ToJSString url) => url -> m URL
- newURL' :: (MonadDOM m, ToJSString url, ToJSString base) => url -> base -> m URL
- newURL'' :: (MonadDOM m, ToJSString url) => url -> URL -> m URL
- toJSON :: (MonadDOM m, FromJSString result) => URL -> m result
- toJSON_ :: MonadDOM m => URL -> m ()
- createObjectURL :: (MonadDOM m, IsBlob blob, FromJSString result) => blob -> m result
- createObjectURL_ :: (MonadDOM m, IsBlob blob) => blob -> m ()
- revokeObjectURL :: (MonadDOM m, ToJSString url) => url -> m ()
- createObjectURLSource :: (MonadDOM m, FromJSString result) => MediaSource -> m result
- createObjectURLSource_ :: MonadDOM m => MediaSource -> m ()
- setHref :: (MonadDOM m, ToJSString val) => URL -> val -> m ()
- getHref :: (MonadDOM m, FromJSString result) => URL -> m result
- getOrigin :: (MonadDOM m, FromJSString result) => URL -> m result
- setProtocol :: (MonadDOM m, ToJSString val) => URL -> val -> m ()
- getProtocol :: (MonadDOM m, FromJSString result) => URL -> m result
- setUsername :: (MonadDOM m, ToJSString val) => URL -> val -> m ()
- getUsername :: (MonadDOM m, FromJSString result) => URL -> m result
- setPassword :: (MonadDOM m, ToJSString val) => URL -> val -> m ()
- getPassword :: (MonadDOM m, FromJSString result) => URL -> m result
- setHost :: (MonadDOM m, ToJSString val) => URL -> val -> m ()
- getHost :: (MonadDOM m, FromJSString result) => URL -> m result
- setHostname :: (MonadDOM m, ToJSString val) => URL -> val -> m ()
- getHostname :: (MonadDOM m, FromJSString result) => URL -> m result
- setPort :: (MonadDOM m, ToJSString val) => URL -> val -> m ()
- getPort :: (MonadDOM m, FromJSString result) => URL -> m result
- setPathname :: (MonadDOM m, ToJSString val) => URL -> val -> m ()
- getPathname :: (MonadDOM m, FromJSString result) => URL -> m result
- setHash :: (MonadDOM m, ToJSString val) => URL -> val -> m ()
- getHash :: (MonadDOM m, FromJSString result) => URL -> m result
- setSearch :: (MonadDOM m, ToJSString val) => URL -> val -> m ()
- getSearch :: (MonadDOM m, FromJSString result) => URL -> m result
- getSearchParams :: MonadDOM m => URL -> m URLSearchParams
- newtype URL = URL {}
- gTypeURL :: JSM GType
Documentation
newURL' :: (MonadDOM m, ToJSString url, ToJSString base) => url -> base -> m URL Source #
createObjectURL :: (MonadDOM m, IsBlob blob, FromJSString result) => blob -> m result Source #
createObjectURL_ :: (MonadDOM m, IsBlob blob) => blob -> m () Source #
revokeObjectURL :: (MonadDOM m, ToJSString url) => url -> m () Source #
createObjectURLSource :: (MonadDOM m, FromJSString result) => MediaSource -> m result Source #
createObjectURLSource_ :: MonadDOM m => MediaSource -> m () Source #
setProtocol :: (MonadDOM m, ToJSString val) => URL -> val -> m () Source #
getProtocol :: (MonadDOM m, FromJSString result) => URL -> m result Source #
setUsername :: (MonadDOM m, ToJSString val) => URL -> val -> m () Source #
getUsername :: (MonadDOM m, FromJSString result) => URL -> m result Source #
setPassword :: (MonadDOM m, ToJSString val) => URL -> val -> m () Source #
getPassword :: (MonadDOM m, FromJSString result) => URL -> m result Source #
setHostname :: (MonadDOM m, ToJSString val) => URL -> val -> m () Source #
getHostname :: (MonadDOM m, FromJSString result) => URL -> m result Source #
setPathname :: (MonadDOM m, ToJSString val) => URL -> val -> m () Source #
getPathname :: (MonadDOM m, FromJSString result) => URL -> m result Source #
getSearchParams :: MonadDOM m => URL -> m URLSearchParams Source #
Functions for this inteface are in JSDOM.URL.
Instances
PToJSVal URL Source # | |
Defined in JSDOM.Types | |
PFromJSVal URL Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> URL # | |
ToJSVal URL Source # | |
FromJSVal URL Source # | |
MakeObject URL Source # | |
Defined in JSDOM.Types makeObject :: URL -> JSM Object # | |
IsGObject URL Source # | |
Defined in JSDOM.Types |