Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用setSelect高亮元素的同时,我希望降低其他元素的透明度 #1944

Open
zhaojiuyi123 opened this issue Oct 23, 2023 · 2 comments
Assignees

Comments

@zhaojiuyi123
Copy link

问题描述

当我点击某一元素时,我希望将其高亮,同时降低其余元素的透明度,但是setSelect貌似无法实现这样的效果,是否有其他的配置或api能处理此问题

重现链接

No response

重现步骤

No response

预期行为

No response

平台

  • 操作系统: [Windows]
  • 网页浏览器: [Google Chrome]

屏幕截图或视频(可选)

image

补充说明(可选)

No response

@github-actions
Copy link
Contributor

Hi @zhaojiuyi123, Please star this repo if you find it useful! Thanks ⭐!
你好 @zhaojiuyi123。如果该仓库对你有用,可以 star 一下,感谢你的 ⭐!

@lzxue
Copy link
Contributor

lzxue commented Oct 23, 2023

这个只能自己实现,通过 opactiy 映射,或者新建一个高亮图层显示选中要素

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants