color-mode icon indicating copy to clipboard operation
color-mode copied to clipboard

feat: add general attribute support

Open miswanting opened this issue 8 months ago • 4 comments

https://tdesign.tencent.com/vue-next/dark-mode-en

Some UI libraries (such as TDesign) use a theme-mode attribute on HTML tags to control dark mode, which cannot be implemented by the existing dataValue option, so a new option named attrName is added, with control logic similar to that of 'dataValue'.

Also fixed missing 'dataValue' in the sample code.

miswanting avatar Oct 24 '23 09:10 miswanting