Set Tag
element.setTag(tag)
Set the value of the specified HTML tag of the DOMElement.
Syntax
Parameters
- tag :
string
- The HTML tag to set for the element
Returns
Promise<null
>
A promise that resolves to null
Set Tag
element.setTag(tag)
Set the value of the specified HTML tag of the DOMElement.
string
- The HTML tag to set for the elementPromise<null
>
A promise that resolves to null