Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newHTMLElement :: MonadDOM m => m HTMLElement
- click :: (MonadDOM m, IsHTMLElement self) => self -> m ()
- focus :: (MonadDOM m, IsHTMLElement self) => self -> m ()
- blur :: (MonadDOM m, IsHTMLElement self) => self -> m ()
- setTitle :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m ()
- getTitle :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result
- setLang :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m ()
- getLang :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result
- setTranslate :: (MonadDOM m, IsHTMLElement self) => self -> Bool -> m ()
- getTranslate :: (MonadDOM m, IsHTMLElement self) => self -> m Bool
- setDir :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m ()
- getDir :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result
- getDataset :: (MonadDOM m, IsHTMLElement self) => self -> m DOMStringMap
- setHidden :: (MonadDOM m, IsHTMLElement self) => self -> Bool -> m ()
- getHidden :: (MonadDOM m, IsHTMLElement self) => self -> m Bool
- setTabIndex :: (MonadDOM m, IsHTMLElement self) => self -> Int -> m ()
- getTabIndex :: (MonadDOM m, IsHTMLElement self) => self -> m Int
- setAccessKey :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m ()
- getAccessKey :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result
- setDraggable :: (MonadDOM m, IsHTMLElement self) => self -> Bool -> m ()
- getDraggable :: (MonadDOM m, IsHTMLElement self) => self -> m Bool
- setSpellcheck :: (MonadDOM m, IsHTMLElement self) => self -> Bool -> m ()
- getSpellcheck :: (MonadDOM m, IsHTMLElement self) => self -> m Bool
- setInnerText :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m ()
- getInnerText :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result
- setContentEditable :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m ()
- getContentEditable :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result
- getIsContentEditable :: (MonadDOM m, IsHTMLElement self) => self -> m Bool
- getOffsetParent :: (MonadDOM m, IsHTMLElement self) => self -> m (Maybe Element)
- getOffsetParentUnsafe :: (MonadDOM m, IsHTMLElement self, HasCallStack) => self -> m Element
- getOffsetParentUnchecked :: (MonadDOM m, IsHTMLElement self) => self -> m Element
- getOffsetTop :: (MonadDOM m, IsHTMLElement self) => self -> m Double
- getOffsetLeft :: (MonadDOM m, IsHTMLElement self) => self -> m Double
- getOffsetWidth :: (MonadDOM m, IsHTMLElement self) => self -> m Double
- getOffsetHeight :: (MonadDOM m, IsHTMLElement self) => self -> m Double
- setOuterText :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m ()
- getOuterText :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result
- setAutocorrect :: (MonadDOM m, IsHTMLElement self) => self -> Bool -> m ()
- getAutocorrect :: (MonadDOM m, IsHTMLElement self) => self -> m Bool
- setAutocapitalize :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m ()
- getAutocapitalize :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result
- setWebkitdropzone :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m ()
- getWebkitdropzone :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result
- newtype HTMLElement = HTMLElement {}
- gTypeHTMLElement :: JSM GType
- class (IsElement o, IsNode o, IsEventTarget o, IsSlotable o, IsParentNode o, IsNonDocumentTypeChildNode o, IsDocumentAndElementEventHandlers o, IsChildNode o, IsAnimatable o, IsGlobalEventHandlers o, IsElementCSSInlineStyle o, IsGObject o) => IsHTMLElement o
- toHTMLElement :: IsHTMLElement o => o -> HTMLElement
Documentation
click :: (MonadDOM m, IsHTMLElement self) => self -> m () Source #
focus :: (MonadDOM m, IsHTMLElement self) => self -> m () Source #
blur :: (MonadDOM m, IsHTMLElement self) => self -> m () Source #
setTitle :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m () Source #
getTitle :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result Source #
setLang :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m () Source #
getLang :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result Source #
setTranslate :: (MonadDOM m, IsHTMLElement self) => self -> Bool -> m () Source #
getTranslate :: (MonadDOM m, IsHTMLElement self) => self -> m Bool Source #
setDir :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m () Source #
getDir :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result Source #
getDataset :: (MonadDOM m, IsHTMLElement self) => self -> m DOMStringMap Source #
setTabIndex :: (MonadDOM m, IsHTMLElement self) => self -> Int -> m () Source #
getTabIndex :: (MonadDOM m, IsHTMLElement self) => self -> m Int Source #
setAccessKey :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m () Source #
getAccessKey :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result Source #
setDraggable :: (MonadDOM m, IsHTMLElement self) => self -> Bool -> m () Source #
getDraggable :: (MonadDOM m, IsHTMLElement self) => self -> m Bool Source #
setSpellcheck :: (MonadDOM m, IsHTMLElement self) => self -> Bool -> m () Source #
getSpellcheck :: (MonadDOM m, IsHTMLElement self) => self -> m Bool Source #
setInnerText :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m () Source #
getInnerText :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result Source #
setContentEditable :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m () Source #
getContentEditable :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result Source #
getIsContentEditable :: (MonadDOM m, IsHTMLElement self) => self -> m Bool Source #
getOffsetParent :: (MonadDOM m, IsHTMLElement self) => self -> m (Maybe Element) Source #
getOffsetParentUnsafe :: (MonadDOM m, IsHTMLElement self, HasCallStack) => self -> m Element Source #
getOffsetParentUnchecked :: (MonadDOM m, IsHTMLElement self) => self -> m Element Source #
getOffsetTop :: (MonadDOM m, IsHTMLElement self) => self -> m Double Source #
getOffsetLeft :: (MonadDOM m, IsHTMLElement self) => self -> m Double Source #
getOffsetWidth :: (MonadDOM m, IsHTMLElement self) => self -> m Double Source #
getOffsetHeight :: (MonadDOM m, IsHTMLElement self) => self -> m Double Source #
setOuterText :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m () Source #
getOuterText :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result Source #
setAutocorrect :: (MonadDOM m, IsHTMLElement self) => self -> Bool -> m () Source #
getAutocorrect :: (MonadDOM m, IsHTMLElement self) => self -> m Bool Source #
setAutocapitalize :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m () Source #
getAutocapitalize :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result Source #
setWebkitdropzone :: (MonadDOM m, IsHTMLElement self, ToJSString val) => self -> val -> m () Source #
getWebkitdropzone :: (MonadDOM m, IsHTMLElement self, FromJSString result) => self -> m result Source #
newtype HTMLElement Source #
Functions for this inteface are in JSDOM.HTMLElement. Base interface functions are in:
Instances
class (IsElement o, IsNode o, IsEventTarget o, IsSlotable o, IsParentNode o, IsNonDocumentTypeChildNode o, IsDocumentAndElementEventHandlers o, IsChildNode o, IsAnimatable o, IsGlobalEventHandlers o, IsElementCSSInlineStyle o, IsGObject o) => IsHTMLElement o Source #
Instances
toHTMLElement :: IsHTMLElement o => o -> HTMLElement Source #