Safe Haskell | None |
---|---|
Language | Haskell2010 |
- assign :: (MonadDOM m, ToJSString url) => Location -> url -> m ()
- replace :: (MonadDOM m, ToJSString url) => Location -> url -> m ()
- reload :: MonadDOM m => Location -> m ()
- toString :: (MonadDOM m, FromJSString result) => Location -> m result
- toString_ :: MonadDOM m => Location -> m ()
- setHref :: (MonadDOM m, ToJSString val) => Location -> val -> m ()
- getHref :: (MonadDOM m, FromJSString result) => Location -> m result
- setProtocol :: (MonadDOM m, ToJSString val) => Location -> val -> m ()
- getProtocol :: (MonadDOM m, FromJSString result) => Location -> m result
- setHost :: (MonadDOM m, ToJSString val) => Location -> val -> m ()
- getHost :: (MonadDOM m, FromJSString result) => Location -> m result
- setHostname :: (MonadDOM m, ToJSString val) => Location -> val -> m ()
- getHostname :: (MonadDOM m, FromJSString result) => Location -> m result
- setPort :: (MonadDOM m, ToJSString val) => Location -> val -> m ()
- getPort :: (MonadDOM m, FromJSString result) => Location -> m result
- setPathname :: (MonadDOM m, ToJSString val) => Location -> val -> m ()
- getPathname :: (MonadDOM m, FromJSString result) => Location -> m result
- setSearch :: (MonadDOM m, ToJSString val) => Location -> val -> m ()
- getSearch :: (MonadDOM m, FromJSString result) => Location -> m result
- setHash :: (MonadDOM m, ToJSString val) => Location -> val -> m ()
- getHash :: (MonadDOM m, FromJSString result) => Location -> m result
- getOrigin :: (MonadDOM m, FromJSString result) => Location -> m result
- getAncestorOrigins :: MonadDOM m => Location -> m (Maybe DOMStringList)
- getAncestorOriginsUnsafe :: (MonadDOM m, HasCallStack) => Location -> m DOMStringList
- getAncestorOriginsUnchecked :: MonadDOM m => Location -> m DOMStringList
- newtype Location = Location {
- unLocation :: JSVal
- gTypeLocation :: JSM GType
Documentation
setProtocol :: (MonadDOM m, ToJSString val) => Location -> val -> m () Source #
getProtocol :: (MonadDOM m, FromJSString result) => Location -> m result Source #
setHostname :: (MonadDOM m, ToJSString val) => Location -> val -> m () Source #
getHostname :: (MonadDOM m, FromJSString result) => Location -> m result Source #
setPathname :: (MonadDOM m, ToJSString val) => Location -> val -> m () Source #
getPathname :: (MonadDOM m, FromJSString result) => Location -> m result Source #
getAncestorOrigins :: MonadDOM m => Location -> m (Maybe DOMStringList) Source #
getAncestorOriginsUnsafe :: (MonadDOM m, HasCallStack) => Location -> m DOMStringList Source #
getAncestorOriginsUnchecked :: MonadDOM m => Location -> m DOMStringList Source #
Functions for this inteface are in JSDOM.Location.
gTypeLocation :: JSM GType Source #