From 5de03619042861f0d33855bdc857ac93757360c6 Mon Sep 17 00:00:00 2001 From: David Kennedy Date: Thu, 8 Feb 2024 14:15:57 +0100 Subject: [PATCH] fix(ui-library): adding text input to example js app --- packages/js-example-app/src/assets/index.html | 5 +++++ packages/js-example-app/src/index.js | 13 +++++++++++++ 2 files changed, 18 insertions(+) diff --git a/packages/js-example-app/src/assets/index.html b/packages/js-example-app/src/assets/index.html index 5ffb3dafa..613b01a00 100644 --- a/packages/js-example-app/src/assets/index.html +++ b/packages/js-example-app/src/assets/index.html @@ -110,6 +110,11 @@

Vanilla JS Example Application

+
+

Text Input

+ +
+

Tab Bar

{ logsContainer.innerHTML = logsContainer.innerHTML + log + '
'; @@ -66,3 +67,15 @@ blrCheckbox.addEventListener('blrBlur', () => { blrSelect.addEventListener('blrChange', (e) => { addLog('blr-select changed'); }); + +blrTextInput.addEventListener('blrFocus', (e) => { + addLog('blr-text-input focused'); +}); + +blrTextInput.addEventListener('blrBlur', (e) => { + addLog('blr-text-input blurred'); +}); + +blrTextInput.addEventListener('blrChange', (e) => { + addLog('blr-text-input changed'); +});