Methods
# async thisDOM(domInput) → {Promise.<Object>}
Asynchronously processes a DOM input, returning structured data or an error object.
Parameters:
Name | Type | Description |
---|---|---|
domInput |
string
|
Object
|
The string containing HTML, a URL to an HTML page, or a DOM object. |
A promise that resolves to an object indicating success or failure, with data or an error message.
Promise.<Object>