0.0.1 • Published 4 years ago

angular-typewriter-effect v0.0.1

Weekly downloads
8
License
ISC
Repository
-
Last release
4 years ago

ngtypewriter

ngtypewriter is a simple reacangular component to add effect to strings like typing

Usage

    app.module.ts
    import { AngularTypewriterEffectModule } from 'angular-typewriter-effect';
    imports: [
        BrowserModule,
        AngularTypewriterEffectModule //<- import
    ],


    app.component.ts
    export class AppComponent implements OnInit{
        title = 'angularTests';
        list = ['Angular Typewriter Effect', 'Hello World...']
        constructor() { }
        ngOnInit() {
        }
    }
    app.component.html
    <ngtypewriter [StringList]='list' [speed]='1000'></ngtypewriter>

props

  • StringList - Array of list
  • speed - Speed in ms

Tech

Installation

npm i angular-typewriter-effect

Development

Want to contribute? Great!

Make a pull request

License

ISC