Gustavo Luigi 2024-01-11 17:18:50 -03:00
parent 1409c76753
commit ab15a6414c
1 changed files with 3 additions and 1 deletions

View File

@ -267,6 +267,7 @@
entries.forEach(entry => {
if (entry.isIntersecting) {
nameField.addEventListener("focus", () => {
nameField.placeholder = "";
setTimeout(() => {
let typed = new Typed('#name', {
strings: ['Max Mustermann'],
@ -274,7 +275,8 @@
backSpeed: 25,
showCursor: false,
startDelay: 500,
loop: false
loop: false,
attr: 'placeholder'
});
}, 1000);
});