Comparing version 1.2.0 to 1.2.1
@@ -144,3 +144,3 @@ // overlap | ||
} | ||
}; | ||
}.bind(this); | ||
@@ -147,0 +147,0 @@ // call a callback that we're starting to animateout content |
{ | ||
"name": "bw-vm", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "This is a view manager for bigwheel (it brings in out content)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -5,1 +5,17 @@ bw-vm | ||
This is a view manager for bigwheel (it brings in out content) | ||
### Example | ||
```javascript | ||
var viewmanager = require( 'bw-vm' )(); | ||
var section = require( './yourSection' ); // your section might have init, aniIn, aniOut, destroy, resize | ||
var someDataYouMightWantToPass = { | ||
imgUrl: './someImage.jpg' | ||
}; | ||
var ifYouWantToKnowWhenTheSectionIsIn = function() {}; | ||
viewmanager.show( section, someDataYouMightWantToPass, ifYouWantToKnowWhenTheSectionIsIn ); | ||
``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8280
21