Type: Operation

Sets or removes the specified attributes on the specified element.

Imported operation data

  1. contextNodeId


    Type: NodeId

    The node to change the attributes of.

  2. attributes


    Type: Object<string, (string|null)>

    The new attributes of the node. Pass null as a value to remove the attribute.

  3. disabledWhenUnchanged=false


    Type: Boolean

    If true, the operation will return disabled and active if it did nothing.