-
Notifications
You must be signed in to change notification settings - Fork 0
/
index2.html
35 lines (33 loc) · 1.04 KB
/
index2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Example</title>
</head>
<body>
<h3>This demo is all about</h3>
<div id="otherDivName">
<p>The most ~advanced option</p>
<p>Not ~using j~Query</p>
<p>Saving KB's</p>
<p>Other demo's at ~index[number 2 or 3].html</p>
</div>
<script src="nativeTypedJS.min.js"></script>
<script>
// Equivalent $(document).ready(function(){});
document.addEventListener("DOMContentLoaded", function(event) {
nativeTypedJS({
div: 'otherDivName', // (optional) default: ntjs
firstTimeStart: 2000, // (optional) default: 0
animationTime: 5000, // (optional) default: 2000
timeBeforeDeleting: 5000, // (optional) default: 2000
timeBeforeNext: 3000, // (optional) default: 1000
cursorSpeed: 500, // (optional) default: 1000
shuffle: true, // (optional) default: false
loop: true, // (optional) default: false
cursorPause: 3000, // (optional) default: 1000
});
});
</script>
</body>
</html>