An open-source Typing-effect Library, That enables potential users to add a typing effect to mere DOM Elements.

Overview

Typing Effect Library

An open-source Typing-effect Library I created. That enables potential users to add a typing effect to mere DOM Elements.

Tool Preview

Here is a preview

Typing-effect.mp4

How To Use

Below is a brief tutorial on how to use this Tool.

  • To Begin a new typing effect Initialize the class as follows
import Typed from "./typed.js";

const newText = new Typed()

  • The First Parameter should be the selector of the text element ( In my case a span with a class of auto-text ). Note: Elements are selected with the querySelector method.
const newText = new Typed('.auto-text')

  • The Second Parameter is an object that takes in five Key-Value pairs (one mandatory, four optional) as shown below.
  {
     // Mandatory. array of strings to be typed
    strings: [],
     // typing-in speed. default value is one
    typeSpeed: number,
     // typing-out speed. default value is one
    backSpeed: number,
     // occur once or forever. default value is false
    loop: boolean,
     // color of insertion point. default value is black
    IPColor: string,
  }

Your code should look similar to below

const newText = new Typed('.auto-text', {
  strings: [
    'first string',
    'second string',
  ]
}

  • Customize Your Page! 😁

Built With

  • HTML
  • CSS
  • JavaScript

Live

Click here to see the Tool on the Live on The Web

Taking Actions

Instructions on how to access this tool locally:

To Access my project locally please follow the instructions listed below

  • Enter this url: https://github.com/OkoyeCharles/Type-Effect-Library in your web browser.
  • Once opened navigate to the top left level of the project a green code download button will be visible on the righthand side.
  • Select download Zip option from drop down menu.
  • Once the download is complete you will be able to access the tool locally 😀 .

Authors

👤 Okoye Charles

🤝 Contributing

If you have a suggestion that would make this better, please fork the repository and create a pull request. You can also simply open an issue with the tag "enhancement". Remember to support the project with a star.

You might also like...

A list of helpful front-end related questions you can use to interview potential candidates, test yourself or completely ignore.

A list of helpful front-end related questions you can use to interview potential candidates, test yourself or completely ignore.

Front-end Developer Interview Questions This repository contains a number of front-end interview questions that can be used when vetting potential can

Jan 4, 2023

Web app to display potential profits of cryptocurrencies.

Web app to display potential profits of cryptocurrencies.

What_If With the recent stock market and cryptocurrency rally in the past two years I often found myself wondering how much would I have made if I bou

Feb 12, 2022

A website that acts as a guide about the universities to potential students whole throughout the globe.

A website that acts as a guide about the universities to potential students whole throughout the globe.

Apr 15, 2022

Easy-to-use tool to inform you about potential risks in your project dependencies list

sdc-check Easy-to-use tool to inform you about potential risks in your project dependencies list Usage Add to your project Add new npm command to scri

Dec 4, 2022

Reference for How to Write an Open Source JavaScript Library - https://egghead.io/series/how-to-write-an-open-source-javascript-library

Reference for How to Write an Open Source JavaScript Library The purpose of this document is to serve as a reference for: How to Write an Open Source

Dec 24, 2022

An extension of DOM-testing-library to provide hooks into the shadow dom

Why? Currently, DOM-testing-library does not support checking shadow roots for elements. This can be troublesome when you're looking for something wit

Dec 13, 2022

curtains.js is a lightweight vanilla WebGL javascript library that turns HTML DOM elements into interactive textured planes.

curtains.js is a lightweight vanilla WebGL javascript library that turns HTML DOM elements into interactive textured planes.

What is it ? Shaders are the new front-end web developpment big thing, with the ability to create very powerful 3D interactions and animations. A lot

Jan 1, 2023

A Drag-and-Drop library for all JavaScript frameworks implementing an enhanced transformation mechanism to manipulate DOM elements

A Drag-and-Drop library for all JavaScript frameworks implementing an enhanced transformation mechanism to manipulate DOM elements

JavaScript Project to Manipulate DOM Elements DFlex A Drag-and-Drop library for all JavaScript frameworks implementing an enhanced transformation mech

Jan 8, 2023

JavaScript library to resize, reduce, or change ranges of DOM elements.

Range.js JavaScript library to resize, reduce, or change ranges of DOM elements using the HTML5 input type="range" element. Usage: Include range.js

Jun 3, 2021
Owner
Okoye Charles
Hey there! I'm a Full Stack Developer with proficiency in Node JS, React, Bootstrap, Ruby & Ruby on Rails. Looking for my next job!
Okoye Charles
This project will be a basic website that allows users to add/remove books from a list. The main objective is to understand how to use JavaScript objects and arrays and dynamically modify the DOM and add basic events.

Awesome-books Awesome Books This project will be a basic website that allows users to add/remove books from a list. This project is part of the Microv

Aleksandra Ujvari 10 Oct 3, 2022
This project is a web application that enables users to add, edit and remove tasks they intend to perform. Built with JavaScript, HTML, and CSS.

TO DO List Unit testing using jest Create the to-do List project with webpack. Ultimately, the user should be able to add an item and delete the item

Afolabi Akorede 10 Jul 26, 2022
This is a web application that enables users to add, edit and remove tasks they intend to perform. Built with JavaScript, HTML, and CSS.

TODO LIST It list everything that you have to do, with the most important tasks at the top of the list, and the least important tasks at the bottom. B

Josphat Kiploman 7 Sep 16, 2022
this project is an online library application that enables users to keep track of books in their library by adding to and removing books from a list. Built with JavaScript ES6 syntax, HTML, and CSS

Awesome-Book1 The aim of this project is to restructure the Awesome books app code by using ES6 syntax and organising the workspace using modules. The

Afolabi Akorede 7 Jul 17, 2022
A minimal typing practice website with no features except typing. Inspired from Monkeytype. Do ⭐ this repository.

SenpaiType Introduction SenpaiType is a minimal typing practice website with no features except typing. Inspired from Monkeytype. Contributing Raise i

Pruthviraj Jadhav 5 Nov 30, 2022
jQuery-plugin for add/remove dom-items with renaming form-elements (arrays)

dynamicrows jQuery-plugin for add/remove rows by cloning existing row / renaming form-elements (arrays). Requirements jQuery >=2.0 if move-action used

Dennis Dohle 0 Nov 9, 2020
Add class(es) to DOM elements while waiting for async action. Promise or callback.

jquery.loading Add class(es) to DOM elements while waiting for async action. Promise or callback. Install The simplest way is to include loading.js in

Dumitru Uzun 1 Mar 26, 2022
This package is an open source extension for MikroORM, which enables Nested Set Tree for your needs

MikroORM nested set This package is an open source extension for MikroORM, which enables Nested Set Tree for your needs Disclaimer For now, this packa

Kamil Fronczak 5 Dec 15, 2022