atvimg

0.0.4 • Public • Published

atvImg

This is a fork from drewwilson, thanks for his great work.

And here're some changes:

  • Simplify usage with better API
  • Add effect on a single <img> element
  • Add jQuery / Zepto support
  • Add Vue.js support

Installation

  • Install via NPM

    npm install atvimg

  • Manually add atvImg.js and atvImg.css into your project

Demo

Usage

Available options are listed here.

<img id="atvImg1" src="https://raw.githubusercontent.com/BrianCS/atvImg/addDemo/demo/images/kloc-icon-flattened.jpg">
 
<script>
    $('#atvImg1').atvImg(options)
</script> 

License

This project is under the same license as the original work.

This atvImg plug-in is dual licensed under the MIT and GPL licenses:

I used http://designmodo.com/apple-tv-effect as reference and inspiration when creating this plug-in.

Readme

Keywords

Package Sidebar

Install

npm i atvimg

Weekly Downloads

1

Version

0.0.4

License

MIT

Last publish

Collaborators

  • chuyik