caperactive
v0.3.2
Published
Elements stay acitve(indivisual)
Downloads
14
Readme
Caper.js
Make elements Flowing, Repeating, Promoting(indivisual version)
Install
$ npm install caperactive
Download it
github.com/WMXPY/Caper.js.git
Source it
<script src="caperactive.js"></script>
And Use it
Cp$.Caper('mydom', {
'mode': 'down',
'start': 3000,
'end': 1000,
'decimal': 1,
});
Cp$.Caper('mydom', {
mode: 'sec',
start: 10,
end: 0
});
Cp$.Caper('mydom', {
mode: 'type',
type: ['t', 'h', 'i', 's', ' ', 'i', 's', ' ', 'a', ' ', 't', '$back', 'd', 'e', 'm', 'o', ' ', 'c',
'p', '$back', '$back', 'o', 'f', ' ', 'c', 'a', 'p', 'e', 'r', ',', '$back', '.', 'j', 's',
'$mention', '!', '!', '!', '!', '!', '!'
],
pause: 2
});
Cp$.Caper('mydom', {
'mode': 'iter',
'decimal': 1,
'endstring': 'Example 3 of Faster Iter'
});