Module
Web.DOM.DOMParser
- Package
- purescript-domparser
- Repository
- toastal/purescript-domparser
#makeDOMParser Source
makeDOMParser :: Effect DOMParser
Create a new DOMParser
#parseFromString Source
parseFromString :: String -> String -> DOMParser -> Document
Parse a string with the first argumet being a string for a doctype
#parseHTMLFromString Source
parseHTMLFromString :: String -> DOMParser -> Document
Convience function to parse HTML from a string, partially applying
parseFromString
with "text/html"
- Modules
- Web.
DOM. DOMParser