You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rather than an anonymous boolean, it should be an object that sets properties on the image before setting the src. This way we can set the crossOrigin attribute, and whatever else the browser supports.
d3.image(url,{crossOrigin: "anonymous"})
The text was updated successfully, but these errors were encountered:
mbostock
changed the title
d3.img should take an *init* object.
d3.image should take an *init* object.
Jan 28, 2018
Rather than an anonymous boolean, it should be an object that sets properties on the image before setting the src. This way we can set the crossOrigin attribute, and whatever else the browser supports.
The text was updated successfully, but these errors were encountered: