antoniocapelo/angular-typewrite

Loop

Opened this issue · 4 comments

Is there any way to put this text in the loop ?

Same question. Thanks

Not really, but I can implement it if I have some time, and there's a current need for that feature ( @Kamieniu and @abrararies, do you still need it?)

Anyways, PRs are always welcome :)

I definitely need it @antoniocapelo :)

Thanks!

Got a workaround on this by pushing the same words over in the text array.

I know it won't loop forever but it's a start! 🤷‍♂️

$scope.adjectives = ['word1', 'word2', 'word3']

var i
for (i = 0; i < 100; i++) {
  $scope.adjectives.push('word1')
  $scope.adjectives.push('word2')
  $scope.adjectives.push('word3')  
}