SelectionAttr extension
- on
Methods
-
attrGet(
String name) → String? - Returns the current value of the specified attribute for the first (non-null) element in the selection.
-
attrSet(
String name, Union2< EachCallback< ? value) → SelectionString?> , String> - Sets the attribute with the specified name to the specified value on the selected elements and returns this selection.