0.0.2 • Published 8 years ago

vanillagram v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

VanillaGram

VanillaJS script to apply filters for images similar to Instagram

npm.io

Demo

View demo here

Install

You can get it on npm.

npm install vanillagram --save

Download

If you're not into package management, just download a ZIP file.

How to use?

First, include the script located on the dist folder.

<script src="dist/vanillagram.min.js"></script>

Now, you need to instantiate it by passing a DOM selector and options.

VanillaGram('.filter1', {
    filter: 'fade',
    lightleak: 'lightleak1',
    shadow: 'drama'
});

##Browser Support

IEChromeFirefoxOperaSafari
IE 9+ ✔Latest ✔Latest ✔Latest ✔Latest ✔

Thanks

Many thanks to Vivien Ilett, who originally created the plugin for jQuery.

Contributing

Check CONTRIBUTING.md for more information.

History

Check Releases for detailed changelog.

License

MIT