javascript - Typed.js Text Not Appearing -


i'm trying implement new es6 module version of typed.js (not jquery version), text isn't appearing - cursor (which remains stationary , doesn't blink.)

i installed library without problem through npm , compiling webpack. when check compiled app.js library appears. app.js loading on page correctly , see no errors in console. stationary cursor dynamically-typed text should appearing.

here's code (mostly example official site):

typewriter.js

import typed 'typed.js';  var typed = new typed('#typed-text', {   strings: ["first sentence.", "second sentence."],   typespeed: 30 }); 

index.html

<div class="column">   <p id="typed-text"></p> </div> 


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -