SetAttributesAsTextRequest

data class SetAttributesAsTextRequest(nodeId: NodeId, text: String, name: String?)

Represents request frame that can be used with DOM#setAttributesAsText operation 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.

See also

Constructors

SetAttributesAsTextRequest
Link copied to clipboard
fun SetAttributesAsTextRequest(nodeId: NodeId, text: String, name: String? = null)

Properties

name
Link copied to clipboard
val name: String? = null
Attribute name to replace with new attributes derived from text in case text parsed successfully.
nodeId
Link copied to clipboard
val nodeId: NodeId
Id of the element to set attributes for.
text
Link copied to clipboard
val text: String
Text with a number of attributes.

Sources

jvm source
Link copied to clipboard