简体   繁体   English

如何在NumericStepper中更改文本颜色

[英]How to change the text color in NumericStepper

I seriously cannot find a way to simply change the text color of a NumericStepper. 我严重无法找到一种方法来简单地更改NumericStepper的文本颜色。 Is it event possible? 有可能吗?

Please use 'setStyle' method for text color: 请对文字颜色使用'setStyle'方法:

Please read this post : Link 请阅读这篇文章: 链接

尝试这个,

<input type="text" value="something" onclick="this.value='';this.style.color='red';" />

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM