0.0.4 • Published 10 years ago
atvimg v0.0.4
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.jsandatvImg.cssinto 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
atvImgplug-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.