A simple Attribute Directive for Angular 5 called Auto Type Writer.
- Included with the directive an Angular CLI ver, 1.6.4 project.
- Implemented as an attribute directive for Angular 5.
- since its an attribute directive, it has easy implementation.
- i used setInterval() function (supported by almost all majorly used browsers).
- since javascript engine has a single thread, i used multiple setInterval functions running independently of each other.
Click Here!
Since its an attribute directive, simply pick any div you want:
- Option 1:
<div appAutoTypeWriter></div>
- Option 2:
<p appAutoTypeWriter></p>
- MIT
-Enjoy! Ali Itani