GithubHelp home page GithubHelp logo

ztf666 / dacteelojs Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 284 KB

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

License: MIT License

JavaScript 82.91% CSS 17.09%
javascript-library typing-effect typing-animation

dacteelojs's Introduction

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

dacteelojs's People

Contributors

ztf666 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.