removeAttribute

suspend fun removeAttribute(args: DOM.RemoveAttributeParameter, mode: CommandMode = CommandMode.DEFAULT)

Removes attribute with given name from an element with given id.


suspend fun removeAttribute(nodeId: Int, name: String)

Removes attribute with given name from an element with given id.

Parameters

nodeId

Id of the element to remove attribute from.

name

Name of the attribute to remove.