data class SetAttributesAsTextRequest
(source)
Represents request frame that can be used with DOM.setAttributesAsText method call.
Sets attributes on element with given id. This method is useful when user edits some existing attribute value and types in several attribute name/value pairs.
SetAttributesAsTextRequest(nodeId: NodeId, text: String, name: String? = null)
Represents request frame that can be used with DOM.setAttributesAsText method call. |
val name: String?
Attribute name to replace with new attributes derived from text in case text parsed successfully. |
|
val nodeId: NodeId
Id of the element to set attributes for. |
|
val text: String
Text with a number of attributes. Will parse this text using HTML parser. |