atvimg
v0.0.4
Published
Simple Apple TV parallax effect.
Downloads
46
Readme
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
atvimgManually 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:
- http://www.opensource.org/licenses/mit-license.php
- http://www.gnu.org/licenses/gpl.html
I used http://designmodo.com/apple-tv-effect as reference and inspiration when creating this plug-in.
