nat*_*ft1 3 getter svg text d3.js
我有一个SVG文本元素:
<text class="countries" dy="0" dx="-339.87646027037385" font-size="22" style="fill: #1f77b4;">Afghanistan</text>
Run Code Online (Sandbox Code Playgroud)
而我想做的就是在点击事件中抓取"阿富汗"文本.d3.select(这)...
谢谢!
| 归档时间: |
|
| 查看次数: |
6303 次 |
| 最近记录: |