Type alias SelectionOrTransition<GElement, Datum, PElement, PDatum>

SelectionOrTransition<GElement, Datum, PElement, PDatum>: Selection<GElement, Datum, PElement, PDatum> | Transition<GElement, Datum, PElement, PDatum>

Represents the union of the Selection and Transition types for any usages that operate on both. Typically used for functions which take in either a selection or transition and set or update attributes.

Type Parameters