(nuevoTexto, color)
| 9 | }) |
| 10 | |
| 11 | function cambiarTexto(nuevoTexto, color) { |
| 12 | const evento = new CustomEvent("cambioTexto", { |
| 13 | detail: { |
| 14 | texto: nuevoTexto, |
| 15 | color |
| 16 | } |
| 17 | }) |
| 18 | hTexto.dispatchEvent(evento) |
| 19 | } |
nothing calls this directly
no outgoing calls
no test coverage detected