2.0.3 • Published 3 years ago

ngx-sbz-type-delete v2.0.3

Weekly downloads
48
License
SEE LICENSE IN LI...
Repository
github
Last release
3 years ago

An infinite type and delete animation in Angular 10

demo-gif

Current Version
License

An angular 10 component for infinite type and delete animation

Demo

Installation

  1. run this:
    npm i ngx-sbz-type-delete
  2. go to app.module and add this:

    import { InfiniteTypeDeleteModule } from "ngx-sbz-type-delete";
    
    @NgModule({
        imports: [
            InfiniteTypeDeleteModule
        ]
    })
  3. use like this:

     <ngx-sbz-type-delete [wordArray]="['hello']"></ngx-sbz-type-delete>

    4.. Enjoy :)

Inputs to customize to animation

InputTypeDefaultDescription
wordArraystring[]-----------array of strings to be displayed on screen
textColorstring'black'text and blink color
fontSizestring'20px'size of the text. suffix must be px/vw/vh
blinkWidthstring'2px'width of the blinking cursor at the end. suffix must be px/vw/vh
typingSpeedMillisecondsnumber300delay between each letter typing. 1000 milliseconds => 1 second
deleteSpeedMillisecondsnumber300delay between each letter delete. 1000 milliseconds => 1 second

Contribution

Want to contribute? Great! It's open source. 1. Fork it 2. Create your feature branch (git checkout -b my-new-feature) 3. Commit your changes (git commit -am 'Added some feature') 4. Push to the branch (git push origin my-new-feature) 5. Create new Pull Request

License

  • You can find the license here: License
2.0.3

3 years ago

2.0.2

3 years ago

2.0.1

4 years ago

2.0.0

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago