Skip to content

Commit

Permalink
#5497 – Refactor (BaseRenderer.ts): Create selectionElement
Browse files Browse the repository at this point in the history
  • Loading branch information
DmitriiP-EPAM committed Dec 3, 2024
1 parent d6e6dd7 commit 1dcc4b1
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export abstract class BaseRenderer implements IBaseRenderer {
| D3SvgElementSelection<SVGRectElement, void>
| D3SvgElementSelection<SVGPathElement, void>;

// An extra invisible area around `bodyElement` to make it easier for a user to hover over it.
protected hoverAreaElement?: D3SvgElementSelection<
SVGGElement | SVGLineElement,
void
Expand All @@ -39,6 +40,11 @@ export abstract class BaseRenderer implements IBaseRenderer {
void
>;

protected selectionElement?:
| D3SvgElementSelection<SVGLineElement, void>
| D3SvgElementSelection<SVGPathElement, void>
| D3SvgElementSelection<SVGCircleElement, void>;

protected canvasWrapper: D3SvgElementSelection<SVGSVGElement, void>;

protected canvas: D3SvgElementSelection<SVGSVGElement, void>;
Expand Down

0 comments on commit 1dcc4b1

Please sign in to comment.