MCPcopy Create free account
hub / github.com/nlweb-ai/NLWeb / createInputField

Method createInputField

static/streaming.js:150–158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

148 }
149
150 createInputField() {
151 const input = document.createElement('input');
152 input.type = 'text';
153 input.id = 'message-input';
154 input.placeholder = 'Type your message...';
155 const footer = document.querySelector('.chat-footer') || document.getElementById('chat-container');
156 footer.appendChild(input);
157 return input;
158 }
159
160 setupEventListeners() {
161 if (this.sendButton) {

Callers 1

initializeElementsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected