1 changed files with 5 additions and 5 deletions
@ -1,13 +1,13 @@ |
|||||||
import Typed from "typed.js"; |
import Typed from 'typed.js'; |
||||||
|
|
||||||
document.addEventListener('DOMContentLoaded', function () { |
document.addEventListener( 'DOMContentLoaded', function () { |
||||||
let options = { |
let options = { |
||||||
strings: ['open textbook', 'scholarly monograph', 'world-changing manifesto', 'graduate thesis', 'reference guide', 'essay collection', 'student portfolio', 'novel', 'position paper', 'handbook', 'magnum opus', 'research report', 'daybook', 'collected works'], |
strings: [ 'open textbook', 'scholarly monograph', 'world-changing manifesto', 'graduate thesis', 'reference guide', 'essay collection', 'student portfolio', 'novel', 'position paper', 'handbook', 'magnum opus', 'research report', 'daybook', 'collected works' ], |
||||||
typeSpeed: 80, |
typeSpeed: 80, |
||||||
backSpeed: 40, |
backSpeed: 40, |
||||||
backDelay: 400, |
backDelay: 400, |
||||||
loop: true, |
loop: true, |
||||||
}; |
}; |
||||||
|
|
||||||
new Typed('#typed', options); |
new Typed( '#typed', options ); |
||||||
}); |
} ); |
||||||
|
|||||||
Loading…
Reference in new issue