UNPKG

typing-flow

Version:

Npm package for typing animation for web

2 lines (1 loc) 236 B
"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;