SelectionData extension

on

Methods

dataBind(Union2<EachCallback<Iterable<JSAny?>>, Iterable<JSAny?>> data, [String key(Element, JSAny?, int, Union2<List<Element?>, List<JSAny?>>)?]) Selection
Binds the specified list of data with the selected elements, returning a new selection that represents the update selection: the elements successfully bound to data.
dataGet() List<JSAny?>
Returns the list of data for the selected elements.