LoaderB0T / typed.ts

Realistic typing simulations in TypeScript
MIT License
9 stars 1 forks source link

Blinking horizontal text #10

Closed hendras1722 closed 1 year ago

hendras1722 commented 1 year ago

Hello, I have one question. How to show blinking horizontal cursor?

Pls reply because not showing blink cursor

LoaderB0T commented 1 year ago

Hi, you'll have to implement the blinking cursor on you own. This library only changes the text itself. The rendering has to be handled by the user You can find an example here: https://github.com/LoaderB0T/awdware3/blob/main/web/apps/home/src/app/home/home.component.html#L14

Also check the styles: https://github.com/LoaderB0T/awdware3/blob/main/web/libs/styles/src/lib/_global.scss#L46

I hope this helps you with implementing a blinking cursor on you own.