W3cubDocs

/Dart 2

style property

CssStyleDeclarationBase style

Access the union of all CssStyleDeclarations that are associated with an ElementList.

Grouping the style objects all together provides easy editing of specific properties of a collection of elements. Setting a specific property value will set that property in all Elements in the ElementList. Getting a specific property value will return the value of the property of the first element in the ElementList.

Implementation

CssStyleDeclarationBase get style;

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-html/ElementList/style.html