2017-10-26
타이핑 할때, 글씨가 하나하나 써지듯한 효과를 구현하고 싶다면, 이 기능을 사용하면 된다.
링크: Typed.js

아래는 간단한 예제이다.
<script type="text/javascript" src="/post_inc/javascript/Typed.js"></script>
<script>
$(function(){
	var typed2 = new Typed('#typed1', {
		strings: ['원하는 글씨를', '순서대로', '출력해 줍니다.'],
		typeSpeed: 100,
		backSpeed: 100,
		fadeOut: false,
		smartBackspace: true,
		cursorChar: '_',
		loop: true
	});
})
</script>

<span id="typed1"></span>