Hunlongyu opened a new issue #16738:
URL: https://github.com/apache/echarts/issues/16738
### What problem does this feature solve?
Toolbox feature: The default icon color changes to blue when clicked, but
the color of the custom icon does not change after clicking.
(toolbox feature 里默认的图标如:datazoom,brush 等,点击后颜色变蓝,但是自定义的图标点击后没有变化)
I hope that when hover or click the icon, there are attributes that can
change the icon's color or style.
(希望鼠标悬浮或者点击自定义图标的时候,可以有属性值来改变颜色或者样式。)
### What does the proposed API look like?
```js
const toolbox = {
featrure: {
myRecovery: {
show: true,
title: 'recovery'
icon: '',
hover: {
icon: {
color: '#ff0',
size: 14
},
label: {...}
},
focus: {
icon: {},
label: {}
},
onclick () {}
}
}
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]