Home > d3-blueprint > LayerOptions
LayerOptions interface
Options accepted by the Layer constructor.
Signature:
typescript
export interface LayerOptions<TData>Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(selection: D3Selection, data: TData) => D3Selection | Binds data to the layer's selection. Must return a D3 data-join. | ||
LayerEventMap<TData> | (Optional) Initial lifecycle event handlers. | ||
(selection: D3Selection) => D3Selection | Appends new DOM elements for entering data points. |