Type something and press Enter.
// Sending clears the field and emits aparte-send; your app takes it from there. const hint = document.querySelector('.aparte-field-hint'); document.querySelector('aparte-composer').addEventListener('aparte-send', (event) => { hint.textContent = 'Sent: ' + event.detail.content; });