master
parent
1409c76753
commit
ab15a6414c
|
@ -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);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue