mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
5 lines
106 B
JavaScript
5 lines
106 B
JavaScript
function text(el, text) {
|
|
document.querySelector(el).textContent = text
|
|
}
|
|
text('.relative-js', 'hello')
|