forceStartingStyle method

Future<void> forceStartingStyle(
  1. NodeId nodeId,
  2. bool forced
)

Ensures that the given node is in its starting-style state. nodeId The element id for which to force the starting-style state. forced Boolean indicating if this is on or off.

Implementation

Future<void> forceStartingStyle(dom.NodeId nodeId, bool forced) async {
  await _client.send('CSS.forceStartingStyle', {
    'nodeId': nodeId,
    'forced': forced,
  });
}