Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- assign :: (MonadDOM m, ToJSString url) => Location -> url -> m ()
- replace :: (MonadDOM m, ToJSString url) => Location -> url -> m ()
- reload :: 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 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 DOMStringList Source #
Functions for this inteface are in JSDOM.Location.
Instances
PToJSVal Location Source # | |
Defined in JSDOM.Types | |
PFromJSVal Location Source # | |
Defined in JSDOM.Types pFromJSVal :: JSVal -> Location # | |
ToJSVal Location Source # | |
FromJSVal Location Source # | |
MakeObject Location Source # | |
Defined in JSDOM.Types makeObject :: Location -> JSM Object # | |
IsGObject Location Source # | |
Defined in JSDOM.Types |
gTypeLocation :: JSM GType Source #