Short description of the problem:
I am trying to use D3 from the exemple of this page. The SVG HTML is correctly interpreted but, click events generated by D3 are not fired.
I tried to add
data-tap-disabled="true" to my
<ion-content> as advised here but it didn’t work.
What behavior are you expecting?
I would like to use events in my D3 components.
Steps to reproduce:
ionic start d3_test blank --ts --v2 -sass
npm install d3 --save
- Add the CSS of the example in the home.scss file.
- Add the missing declarator
varbefore use of the
pathvariable in the
- Change the
bodyand add this class to the
<ion-content>tag of the home.html file.
Which Ionic Version? 2.0.0-rc.2
ionic info from terminal/cmd prompt:
Cordova CLI: 6.2.0
Ionic CLI Version: 2.1.8
Ionic App Lib Version: 2.1.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 3.19
Node Version: v6.9.1
Xcode version: Not installed
Any idea of what to do?