📜  set stange beckground color easeljs - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:00.199000             🧑  作者: Mango

代码示例1
// Change it to red
canvas.style.backgroundColor = "#ff0000";

// Change it to the value of a text input
canvas.style.backgroundColor = document.getElementById("myTextInput").value;