updateAttribute method

void updateAttribute(
  1. String selector,
  2. String attribute,
  3. String value
)

Send an attribute update

Implementation

void updateAttribute(String selector, String attribute, String value) {
  final changes = [
    {
      'action': 'update_attribute',
      'selector': selector,
      'attribute': attribute,
      'value': value,
    }
  ];
  sendInstantUIUpdate(changes);
}