setEffectivePropertyValueForNode method

Future<void> setEffectivePropertyValueForNode(
  1. NodeId nodeId,
  2. String propertyName,
  3. String value
)

Find a rule with the given active property for the given node and set the new value for this property nodeId The element id for which to set property.

Implementation

Future<void> setEffectivePropertyValueForNode(
  dom.NodeId nodeId,
  String propertyName,
  String value,
) async {
  await _client.send('CSS.setEffectivePropertyValueForNode', {
    'nodeId': nodeId,
    'propertyName': propertyName,
    'value': value,
  });
}