Safe Haskell | None |
---|---|
Language | Haskell2010 |
- 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) => URL -> blob -> m result
- createObjectURL_ :: (MonadDOM m, IsBlob blob) => URL -> blob -> m ()
- revokeObjectURL :: (MonadDOM m, ToJSString url) => URL -> url -> m ()
- createObjectURLSource :: (MonadDOM m, FromJSString result) => URL -> MediaSource -> m result
- createObjectURLSource_ :: MonadDOM m => URL -> 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) => URL -> blob -> m result Source #
revokeObjectURL :: (MonadDOM m, ToJSString url) => URL -> url -> m () Source #
createObjectURLSource :: (MonadDOM m, FromJSString result) => URL -> MediaSource -> m result Source #
createObjectURLSource_ :: MonadDOM m => URL -> 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.