getInlineStylesForNode method

Future<GetInlineStylesForNodeResult> getInlineStylesForNode(
  1. NodeId nodeId
)

Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM attributes) for a DOM node identified by nodeId.

Implementation

Future<GetInlineStylesForNodeResult> getInlineStylesForNode(
    dom.NodeId nodeId) async {
  var result = await _client.send('CSS.getInlineStylesForNode', {
    'nodeId': nodeId,
  });
  return GetInlineStylesForNodeResult.fromJson(result);
}