$(window).on("load", function() { let type = new TypeIt("#typed-data", { speed: 10, startDelay: 0, cursor: true }) .go(); });