Who can explain how to use it? In the demo source there are such lines:
// Initialize var txt = new TextFx(this.el.querySelector('.title')); // Show letters: // txt.show([effect] [,callback]); So I understand the top is an example of initialization, and below is an example of using "show" here, but there is no documentation, or have I not found what to substitute in the "effect"? callback so I can skip.
my code looks something like this:
html:
<h1>Hello world</h1> js:
var txt = new TextFx($('h1')); txt.show(); Plugin files are connected in this order:
'libs/jquery/dist/jquery.min.js', /libs/letterEffects-master/js/charming.min.js', 'libs/letterEffects-master/js/anime.min.js', 'libs/letterEffects-master/js/lineMaker.js', 'libs/letterEffects-master/js/imagesloaded.pkgd.min.js', 'libs/letterEffects-master/js/textfx.js', 'js/common.js', // мой файл скрипта где неудачно пытаюсь вызвать плагин)