<fx-setattribute>

Description

Creates and sets an attribute value.

This action is useful when you need to dynamically create an attribute on some data node.

Attributes

NameDescription
refrequired reference to the parent element
namerequired name of attribute
valuevalue of attribute defaulting to empty string

Events

NameDescription
errorin case ref or name haven’t been specified

Examples