Marker animation jQuery plugin

Overview

jQuery Marker Animation

npm version CI Status codecov CodeFactor License: MIT

Read this in other languages: English, 日本語.

jQuery plugin to add under line animation like highlighter.

Demonstration

Table of Contents

Details

Screenshot

Behavior

Behavior

Installation

npm

https://www.npmjs.com/package/jquery.marker-animation

npm install --save jquery.marker-animation

Browser

Download Release version and enqueue script.

<script type="text/javascript" src="/assets/jquery.marker-animation/index.js"></script>

WordPress

GitHub

Usage

Hello, Dolly <span class="marker-animation">Well, hello, Dolly</span> Hello, Dolly
<script>
    $('.marker-animation').markerAnimation();
</script>

Options

color

Set the color of line

$('.marker-animation').markerAnimation({
    color: '#fe9'
});

thickness

Set the thickness of line

$('.marker-animation').markerAnimation({
    thickness: '.6em'
});

duration

Set the time to complete drawing a line

$('.marker-animation').markerAnimation({
    duration: '2s'
});

delay

Set the time to start drawing a line

$('.marker-animation').markerAnimation({
    duration: '.1s'
});

font_weight

Set the thickness of characters

$('.marker-animation').markerAnimation({
    font_weight: 'bold'
});

[default = bold]
If you do not want to make it bold, please set null.

repeat

Set whether to repeat the animation

$('.marker-animation').markerAnimation({
    repeat: false
});

If this set to true, the animation will be executed again when it is off screen and displayed again.

stripe

Set whether to make it stripe design

$('.marker-animation').markerAnimation({
    stripe: false
});

If this set to true, the animation will not be executed.

stripe

rtl

Set whether to support rtl

$('.marker-animation').markerAnimation({
    rtl: false
});

How to set the value for each

You can set options in the following format.

data-ma_[option name]

e.g. Change color

Hello, Dolly <span class="marker-animation" data-ma_color="red">Well, hello, Dolly</span> Hello, Dolly

In this example, the color of the line is red.

e.g Multiple options

Hello, Dolly <span class="marker-animation" data-ma_repeat="true" data-ma_font_weight="null" data-ma_delay="2s">Well, hello, Dolly</span> Hello, Dolly

In this example, the options below are set.

  • Repeat animation
  • Not bold
  • 2sec delay animation
Comments
Releases(v1.5.21)
Owner
Technote
Technote
Nest multiple blocks inside lists of any kind of list (ordered, unordered, no marker, etc), or do away with list markers and use it like a repeater!

Nest multiple blocks inside lists of any kind of list (ordered, unordered, no marker, etc), or do away with list markers and use it like a repeater!

Rani 15 Dec 26, 2022
A JavaScript animation plugin for menus. It creates a div that moves when you mouse over an element, giving it an elastic animation.

Lava-Lamp Description: A JavaScript animation plugin for menus. It creates a div that moves when you mouse over an element, giving it an elastic anima

Richard Hung 38 Jun 4, 2022
I made countdown birthday and fireworks animation using HTML Canvas, CSS, JS. The fireworks animation gonna come out once the countdown is finished or in other words, "Birthday Time".

Countdown-Birthday-Fireworks-Animation I made countdown birthday and fireworks animation using HTML Canvas, CSS, JS. The fireworks animation gonna com

Mahardika Bayu S.B 19 Dec 31, 2022
Animation library build on top of web animation API (WAAPI)

unanime.js Javascript animation library build on top of web animation API (WAAPI). Learn more about WAAPI: Web animation API Documentation Blog Daniel

Clément Laval 3 Jun 21, 2022
jQuery plugin for color manipulation and animation support.

jQuery Color Supported jQuery versions: 1.8+ Browser Support jQuery Color 3.x supports the following browsers: Desktop: Chrome: (Current - 1) and Curr

jQuery 1.6k Dec 5, 2022
A plugin that provides utilities for animation property.

tailwindcss-animation-property A plugin that provides utilities for animation property. Not only does the plugin provide the usual animation propertie

ZXT 12 Sep 23, 2022
JQuery charCounter - jQuery Character Counter Plugin

jQuery Character Counter A jQuery based character counter for <input> and <textarea> HTML tags. What is this? This simple plugin allows you to add a c

mmmm_lemon 1 Aug 10, 2022
jQuery quick notification plugin. jQuery плагин быстрых уведомлений

Note: English translation by Google Translate Notific About Description: this is a jQuery plugin that helps you display notifications on your site. Li

Webarion 2 Nov 7, 2021
A variety of jQuery plugin patterns for jump starting your plugin development

jQuery Plugin Patterns So, you've tried out jQuery Boilerplate or written a few of your own plugins before. They work to a degree and are readable, bu

jQuery Boilerplate 1.6k Dec 31, 2022
This is a simple Image popup Jquery plugin. With a very simple configuration, you can show a popup on your webpage. By the way, this plugin works after page load.

Jquery-SingleImagePopup This is a simple Image popup Jquery plugin. With a very simple configuration, you can show a popup on your webpage. By the way

Rajan Karmaker 1 Aug 22, 2022
Javascript library for typing animation

typebot Javascript library for typing animation Usage: include <script src="typebot.js"></script> And in js new typebot(element,speed,delay,text,blink

Akshay 17 Oct 18, 2022
A simple but powerful tweening / animation library for Javascript. Part of the CreateJS suite of libraries.

TweenJS TweenJS is a simple tweening library for use in Javascript. It was developed to integrate well with the EaselJS library, but is not dependent

CreateJS 3.5k Jan 3, 2023
JavaScript library to make drawing animation on SVG

vivus.js Demo available on http://maxwellito.github.io/vivus Play with it on Vivus Instant Vivus is a lightweight JavaScript class (with no dependenci

maxwellito 14.5k Jan 3, 2023
Lightweight Loading Animation

◼️ Features: ?? Easy to Use ?? Fast & Lightweight (0.5Kb) ?? No dependencies, built with VanillaJS ?? Tested in all modern browsers ◼️ Demo: https://b

Bruno Vieira 76 Sep 1, 2022
An animation library, built on the Web Animations API for the smallest filesize and the fastest performance

motion-signals A wrapper over Motion One, An animation library, built on the Web Animations API for the smallest filesize and the fastest performance.

Tanvesh Sarve 48 Dec 27, 2022
A little animation for a big menu where the letters of a word shuffle to become the first letter of each menu item.

Letter Shuffle Animation for a Menu A little animation for a big menu where the letters of a word shuffle to become the first letter of each menu item

Codrops 29 Dec 4, 2022
A web tool for you to record your face and turn it into a 3D animation file.

Web Face Capture A free, open-source web tool for you to record your face and turn it into a 3D animation file. Go to the website Allow camera permisi

James Lee 9 Jan 6, 2023
This project is an attempt at recreating the WebGL animation featured in the 2021 Linear release page.

Linear Vaporwave Three.js scene This project is an attempt at recreating the WebGL animation featured in the 2021 Linear release page. Demo Head over

Maxime Heckel 31 Dec 28, 2022
Reveal CSS animation as you scroll down a page

WOW.js Reveal CSS animation as you scroll down a page. By default, you can use it to trigger animate.css animations. But you can easily change the set

Matt Delac 9.7k Jan 8, 2023