Skip to content

A simple Attribute Directive for Angular 5 called Auto Type Writer.

License

Notifications You must be signed in to change notification settings

aliitani/Auto-Type-Writer-Angular

Repository files navigation

auto-type-writer-Angular 5

A simple Attribute Directive for Angular 5 called Auto Type Writer.

Overview:

  • 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.

Demo:

Click Here!

Implementation:

Since its an attribute directive, simply pick any div you want:

  • Option 1:
  <div appAutoTypeWriter></div> 
  • Option 2:
  <p appAutoTypeWriter></p> 

Preview:

recording_20180209172852

License:

  • MIT

-Enjoy! Ali Itani