Javascript 文本在textilate中的切换速度,jshttp://jschr.github.io/textillate/

Javascript 文本在textilate中的切换速度,jshttp://jschr.github.io/textillate/,javascript,word-automation,Javascript,Word Automation,我是textilate.js的新手()有人知道如何增加textilate.js上动画的spped吗请帮我解决…使用delayScale选项 所以它看起来像这样: jQuery(function () { jQuery('ElementName').textillate({ in : { effect: 'rollIn', delayScale: .5, }, out: { effec

我是textilate.js的新手()有人知道如何增加textilate.js上动画的spped吗请帮我解决…

使用delayScale选项

所以它看起来像这样:

jQuery(function () {
    jQuery('ElementName').textillate({ in : {
            effect: 'rollIn',
             delayScale: .5,
        },
        out: {
            effect: 'hinge'
        },
        loop: false
    });
});

Textillate.js使用animate.css,因此如果您的效果恰好是fadeInUp,请在animate.css中找到class.fadeInUp并添加以下内容:

-webkit-animation-duration: 1s;
animation-duration: 1s;
您可以将持续时间从1s调整为0.5s,使其更快