()
| 139 | } |
| 140 | |
| 141 | createSendButton() { |
| 142 | const button = document.createElement('button'); |
| 143 | button.id = 'send-button'; |
| 144 | button.textContent = 'Send'; |
| 145 | const footer = document.querySelector('.chat-footer') || document.getElementById('chat-container'); |
| 146 | footer.appendChild(button); |
| 147 | return button; |
| 148 | } |
| 149 | |
| 150 | createInputField() { |
| 151 | const input = document.createElement('input'); |