Angular Text Rotator

190 views Asked by At

I want to implement simple text rotator which will rotate each 3 seconds some texts. The change will be animated.

I have found jquery plugin which perfectly solves my problem: https://github.com/peachananr/simple-text-rotator

But I have read that it's not a good practice to use jquery plugins in Angular Applications. Hence I want to implement text rotator in 'Angular way'. But I don't know how to do it.

Is there an easy way to implement such text rotator using Angular 2+?


EDIT:

The functionality should work like this: Let's say I have heading text.
I want that each 2 sec the heading text will change (to another sentence from some predefined set of heading sentences). This change should be animated.

0

There are 0 answers