You can use the onscroll event. Code example is below
<div onscroll = "myFunction()">
<script>
function myFunction(){
var typed4 = new Typed('.typed-text2', {
strings: ['Unser Angebot'],
typeSpeed: 75,
backSpeed: 25,
bindInputFocusEvents: true,
loop: false,
cursorChar: '',
backDelay: 1000,
startDelay: 1000
});
}
</script>
</div>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…