README
@antv/g-plugin-svg-picker
直接使用 elementFromPoint 获取 SVGElement
。
找到后通过 id
查询 DisplayObject
返回。
A G plugin for picking in SVG
<script type="module">
import antvGPluginSvgPicker from 'https://cdn.skypack.dev/@antv/g-plugin-svg-picker';
</script>
直接使用 elementFromPoint 获取 SVGElement
。
找到后通过 id
查询 DisplayObject
返回。