How to get set-attributes

Depend on fontoxml-base-flow to make this operation available.

Sets or removes the specified attributes on the specified element.

Imported operation data

Name Type Description
contextNodeId NodeId

The node to change the attributes of.

attributes Object<string, (string|null)>

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

[disabledWhenUnchanged=false] Boolean

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

Was this page helpful?