Code Monkey home page Code Monkey logo

lwder.js's Introduction


◼️ Features:

  • 🛠 Easy to Use
  • 🌠 Fast & Lightweight (0.5Kb)
  • 💪 No dependencies, built with VanillaJS
  • 🌎 Tested in all modern browsers

◼️ Demo:

https://bmsvieira.github.io/lwder.js/

◼️ Installation:

1 - Include JavaScript Source.

<script src="path/to/lwder.js"></script>

2 - Set HTML Elements.

<div class="lwder" lwder="..." lwderspeed="300"> Page is loading </div>

3 - Initilize.

document.addEventListener("DOMContentLoaded", function() {
 new Lwder({ selector: ".lwder" });
});

◼️ Options

Name Value Default Description
lwder string empty Content to be added
lwderspeed int empty Speed at which letters will appear
lwdertype default or onclick default Type of event, default (on init) or onclick
lwdercondition default or clear default Event condition, default (add to existing content) or clear (clear all existing content from element)
lwderduration int empty Duration of how long lwder will run if lwdertype is onclick

lwder.js's People

Contributors

bmsvieira 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.