Skip to content

A small πŸ’© library that gives your text that typing effect and makes it blink too 😀

License

Notifications You must be signed in to change notification settings

ZTF666/DacteeloJs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

DacteeloJs

A small library that gives your text that typewriter effect and makes it blink too 😀

How to use

  • Typing effect
ZTF(elementID).type(SET_SPEED_TYPING, SET_SPEED_DELETING);
DacteeloJS
  • Blinking Effect
ZTF(Element_ID).type(SET_INTERVAL_BLINKING);
Blinking
  • Custom Css for the typing effect

For a more fancy look add the following css to animate the cursor

The cursor won't appear by itself πŸ§™β€β™‚οΈ, you should put it in a span or whatever tag you like as long as it's gonna be inline with the text.

πŸ‘‰ | πŸ‘ˆ

Copy this in you css tag or file Or include the file i added , do as you please.

.my-fancy-cursor {
  color: rgb(255, 255, 255);
  animation: blink 0.5s ease infinite;
  opacity: 0;
}

@keyframes blink {
  100% {
    opacity: 1;
  }
}
  • Example with the custom Css
<span id="YOUR_ID">i'm still learning please be kind </span>
<span class="my-fancy-cursor">|</span>
<script>
  ZTF(elementID).type(SET_SPEED_TYPING, SET_SPEED_DELETING);
</script>

LIMITATIONS :

So far you can only target one element per call , bummer i know ...

hopefully, as i expand my knowledge in js , i'll figure out a way to

fix this issue 😫 .

Support

Any help improving this and adding more stuff is welcomed ! i'm still learning JS .

Contact

you can contact me at [email protected] or via my portfolio

License

πŸ’ŽDacteeloJSπŸ’Ž released under the MIT License.

Made with πŸ’˜ by a πŸ‘¨β€πŸ’» on a πŸ’» | 2020 | ZTF666 - N.EA

About

A small πŸ’© library that gives your text that typing effect and makes it blink too 😀

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published