车把内联 css

问题描述

我想使用把手传递内联 css,例如 style="background-color: value"。

我有js文件

Ref = database.ref(findGetParameter("entity")).orderByChild(filterKey).equalTo(filterValue).limitToFirst(count + currentCount);

我使用 #each 循环来获取所有框,并希望通过这些样式来设置它们的样式。 我试过这样做:

module.exports = { header: 'some title',boxes: ["here some objects"],style: { backgroundCol: '#000',textCol: '#f00',numbersCol: '#c31d5a',titleSize: '28px',numbersSize: '42px',} }

使用内联样式的正确方法是什么,或者有什么方法可以将此“样式”对象传递给样式表并使用类?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...