Instead of using ads, I am having you mine for crypto currency to support this site. Here are your stats:
You can start or stop at anytime but please wait for some accepted hashes before you do.
Visit Learn Barmaga to learn more about how this works
WHAT'S NEW?
Loading...

iconate.js – Trendy animations for icons

iconate.js - Trendy animations for icons

iconate.js is tiny performant javascript library for cross-browser icon transformation animationsin your projects.

Basic Usage

  1. Include the Stylesheet and Javascript files in your html.
        <link rel="stylesheet" href="iconate.min.css">
        <script type="text/javascript" src="iconate.min.js">
    
  2. Create icon element.
       <i id="icon" class="fa fa-bars fa-lg"></i>
    
  3. Animate icon from fa-bar to fa-arrow-right with rubberBand animation.
        var iconElement = document.getElementById('icon');
        var options = {
            from: 'fa-bars',
            to: 'fa-arrow-right',
            animation: 'rubberBand'
        };
    
        iconate(iconElement, options);
    
  4. Following AnimationTypes can be used in iconate call.
    • rollOutRight
    • rollOutLeft
    • rubberBand
    • zoomOut
    • zoomIn
    • fadeOut
    • fadeOutRight
    • fadeOutLeft
    • fadeOutTop
    • fadeOutBottom
    • horizontalFlip
    • verticalFlip
    • bounceOutBottom
    • bounceOutTop
    • bounceOutLeft
    • bounceOutRight
    • rotateClockwise
    • rotateAntiClockwise
    • tada

Public API

iconate(element, [, options] [, callback] )

Animate an icon element.
  • element - Icon Element to perform operations on.
  • options - Object containing options to control the animation.
    • from - Current icon class name (ex. 'fa-bars' in case of font-awesome)
    • to - Final icon class name (ex. 'fa-arrow-right')
    • animation - You can choose any animation from above listed animation types. (ex. 'fadeOutRight')(default: 'zoomOut')
  • callback - Optional callback to execute after animation completes.

Browser Support

ChromeFirefoxIEOperaSafari
4+ ✔16+ ✔10+ ✔15+ ✔6+ ✔

License

Copyright (c) 2015 Jignesh Kakadiya, http://bitshadow.github.io Licensed under the MIT license.
DOWNLOAD SPOT UI KIT PSD
Format : PSDSize :157 MBLicence