d3plus / d3plus-shape

Fancy SVG shapes for visualizations
MIT License
20 stars 2 forks source link

adds pointerEvents method to Shape Class #69

Closed nbond211 closed 6 years ago

nbond211 commented 6 years ago

(closes #68 )

Description

Adds a pointerEvents method to the Shape Class which allows allow users to define custom values for the pointer-events property of a shape. This also changes the default value for pointerEvents from all to visiblePainted, which fixes the hit area of lines.

Types of changes

Checklist