标签: reactjs image png transparency mousehover
是否可以在React中将mouseOver注册到Image上,但要注意Alpha透明度?即当没有像素时忽略图像鼠标悬停,而仅在有像素时才注册。基本上只使用alpha。我只能使用onMouseOver
onMouseOver={e => (e.currentTarget.src = MyImage)
谢谢。