1.0.0 • Published 9 years ago

acr-backstretch v1.0.0

Weekly downloads
6
License
MIT
Repository
github
Last release
9 years ago

acr-backstretch

*Updated 4/6/2016

What Am I?!

A simple directive for Scott Robinson's Backstretch jQuery plugin.

  • Simple
  • Responsive
  • Mobile

Usage

OR WITH ANGULAR HOOKS

Live Demo

Check it out

Version

1.0.0

Updates

  • None

Dependencies

  • jQuery (not included)
  • backstretch.js (included)

NPM / Bower

Installation

Include backstrech after you've included jQuery: <script src="./js/backstretch.min.js"> <script> Include the module in your scripts after AngularJS <script src="./js/acr-backstretch.min.js"> <script>

Add acrBackstretch in your apps dependencies. var app = angular.module('myApp', 'acrBackstretch');

Parameters

fade: numbers in miliseconds (i.e. 1000 is 1 second) fillheight: number in pixels (i.e. 400 is 400px) fallback: string/url location of fallback image if desired image (fillsrc) does not exist

License

MIT - go nuts y'all.

1.0.0

9 years ago