UNPKG

@nasriya/hypercloud

Version:

Nasriya HyperCloud is a lightweight Node.js HTTP2 framework.

25 lines (24 loc) 697 B
"use strict"; try { window.onload = () => { const container = document.getElementById('container'); if (container) { const str = container.innerHTML.toString(); let i = 0; container.innerHTML = ""; setTimeout(function () { var se = setInterval(function () { i++; container.innerHTML = str.slice(0, i) + "|"; if (i == str.length) { clearInterval(se); container.innerHTML = str; } }, 10); }, 0); } }; } catch (error) { console.error(error); }