UNPKG
typing-flow
Version:
latest (1.0.1)
1.0.1
0.2.5
0.2.4
0.2.3
0.2.2
0.1.18
0.1.17
0.1.15
0.1.14
0.1.13
0.1.10
0.1.9
0.1.8
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
Npm package for typing animation for web
typing-flow.gitbook.io/docs
sergey-frey/typing-flow
typing-flow
/
dist
/
plugins.cjs
2 lines
(1 loc)
•
236 B
JavaScript
View Raw
1
2
"use strict"
;
Object
.
defineProperty
(
exports
,
Symbol
.
toStringTag
,{
value
:
"Module"
});
const
i
=(
...t
)=>{
if
(t.
length
<
1
)
return
null
;
for
(
let
n=
0
;n<t.
length
-
1
;n++){
const
e=t[n],r=t[n+
1
];e.
on
(
"finish"
,
()=>
{r.
start
()})}
return
t[
0
]};
exports
.
chain
=i;