SelectionDatum extension

on

Methods

datumGet() JSAny?

Available on Selection, provided by the SelectionDatum extension

Returns the bound datum for the first (non-null) element in the selection.
datumSet(Union2<EachCallback<JSAny?>, JSAny?>? value) Selection

Available on Selection, provided by the SelectionDatum extension

Sets the element’s bound data to the specified value on all selected elements.