@@ -25,7 +25,7 @@ <h1 class="title">Typed.js</h1>
25
25
26
26
< hr >
27
27
28
- < h2 > Basic Demo</ h2 >
28
+ < h2 id =" basic " > Basic Demo</ h2 >
29
29
< div class ="type-wrap ">
30
30
< div id ="typed-strings ">
31
31
< span > Typed.js^10 is a < strong > JavaScript</ strong > library.</ span >
@@ -68,7 +68,7 @@ <h2>Basic Demo</h2>
68
68
69
69
< hr >
70
70
71
- < h2 > Fade Out</ h2 >
71
+ < h2 id =" fade " > Fade Out</ h2 >
72
72
< div class ="type-wrap ">
73
73
< span id ="typed2 " style ="white-space:pre; "> </ span >
74
74
</ div >
@@ -88,7 +88,7 @@ <h2>Fade Out</h2>
88
88
89
89
< hr >
90
90
91
- < h2 > Smart Backspace</ h2 >
91
+ < h2 id =" smartBack " > Smart Backspace</ h2 >
92
92
< div class ="type-wrap ">
93
93
< span id ="typed3 "> </ span >
94
94
</ div >
@@ -107,7 +107,7 @@ <h2>Smart Backspace</h2>
107
107
108
108
< hr >
109
109
110
- < h2 > In an input</ h2 >
110
+ < h2 id =" input " > In an input</ h2 >
111
111
< div class ="type-wrap ">
112
112
< input id ="typed4 " type ="text " style ="padding: 10px; ">
113
113
</ div >
@@ -127,7 +127,7 @@ <h2>In an input</h2>
127
127
128
128
< hr >
129
129
130
- < h2 > Shuffled</ h2 >
130
+ < h2 id =" shuffle " > Shuffled</ h2 >
131
131
< div class ="type-wrap ">
132
132
< span id ="typed5 " style ="white-space:pre; "> </ span >
133
133
</ div >
@@ -146,6 +146,24 @@ <h2>Shuffled</h2>
146
146
</ code >
147
147
</ pre >
148
148
149
+ < hr >
150
+
151
+ < h2 id ="bulk "> Bulk Typing</ h2 >
152
+ < div class ="type-wrap " style ="height: 50px; ">
153
+ < span id ="typed6 " style ="white-space:pre; "> </ span >
154
+ </ div >
155
+
156
+ < pre >
157
+ < code class ="javascript ">
158
+ var typed6 = new Typed('#typed6', {
159
+ strings: ['npm install^1000\n `installing components...` ^1000\n `Fetching from source...`'],
160
+ typeSpeed: 40,
161
+ backSpeed: 0,
162
+ loop: true
163
+ });
164
+ </ code >
165
+ </ pre >
166
+
149
167
150
168
</ div >
151
169
0 commit comments