🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Vanish is a jQuery plugin for creating a vanish effect that vanishes random characters of the string in a specific time.

text-animation Text-Effect

Documentation

jQuery Vanish

Build Status Code Climate

A jQuery plugin to easily create a vanish effect on a string.

Demo

http://www.matheusazzi.com/jquery-vanish

Installation

Install via Bower

bower install jquery-vanish

Usage

<h1>Hello Foo Bar</h1> <p>Other Foo Bar</p>
$('h1').vanish();

Events

The plugin will trigger a vanished event on element:

$('p').vanish({   duration: 2500,   animation: 200, }).on('vanished', function() {   alert('Vanish ends'); })

Options

Option Type Default Description
duration Number 3000 The duration in milliseconds to vanish all string
animation Number 300 The time of an item vanish animation
className String 'is-vanishing' A class to add when the character starts to vanish

Browser Support

</tr> <tr>   <td align="center">9+</td>   <td align="center">✓</td>   <td align="center">✓</td>   <td align="center">✓</td>   <td align="center">✓</td> </tr> 

License

The MIT License (MIT)

Copyright © 2015 Matheus Azzi [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.


You May Also Like