我们有这样的东西:
properties: {
backgroundColor: "hsl(" + (i * 360 / 8) + ", 100%, 50%)",
color: "black",
lineHeight: window.innerHeight / 2 + 'px',
textAlign: 'center'
}
famo.us 如何解析这个对象并将其作为内联样式插入到 html 中?
我们如何才能使其中一些属性实时更新,例如其他 famo.us 组件?