dcd-legacy/data/data-source.example.js
2024-03-07 13:43:25 +00:00

18 lines
438 B
JavaScript

const DATA = {
"0205c195": {
"#header": (element) => {
element.textContent = "Hello, XYZ!"
},
"body": (element) => {
element.style.backgroundColor = "#2f3136"
}
},
"0203c152": {
"#header": (element) => {
element.textContent = "Hello, ABC!"
},
"body": (element) => {
element.style.backgroundColor = "#000"
}
}
}