takeComputedStyleUpdates method

Future<List<NodeId>> takeComputedStyleUpdates()

Polls the next batch of computed style updates. Returns: The list of node Ids that have their tracked computed styles updated.

Implementation

Future<List<dom.NodeId>> takeComputedStyleUpdates() async {
  var result = await _client.send('CSS.takeComputedStyleUpdates');
  return (result['nodeIds'] as List)
      .map((e) => dom.NodeId.fromJson(e as int))
      .toList();
}