diff options
author | Matthew S <matthewsot@outlook.com> | 2017-02-03 21:07:16 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-03 21:07:16 -0800 |
commit | 2c431f5015cecc197bd57a4b48ddd42f54c134f2 (patch) | |
tree | 505087e186f6a667d0575d653bcf9148a266b588 | |
parent | 64fac6093b2a954c08d2bfa01e50bbb05e76354d (diff) |
Fixed small issue in the READMEgh-pages
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -49,13 +49,13 @@ yourAnimation.animateOut = function (overlay, content, completed) { Wedge will attempt to auto-determine the type of link, but if you'd like to override that you can pass the ```type``` option. ### Positioners -I'd recommend leaving ``options.autoPositionerType: 1`` unless you have major problems with the positioner. +I'd recommend leaving ``options.autoPositionType: 1`` unless you have major problems with the positioner. -If you do have problems, try ``options.autoPositionerType: 2``. To use a custom positioner, set ``options.autoPositionerType: 0`` and provide an ``options.positioner``: +If you do have problems, try ``options.autoPositionType: 2``. To use a custom positioner, set ``options.autoPositionType: 0`` and provide an ``options.positioner``: ``` var options = { - autoPositionerType: 0, + autoPositionType: 0, positioner: function (content) { //position $(content) however you'd like } @@ -65,4 +65,4 @@ var options = { ## Dependencies jQuery is the only requirement to use wedge, which contains the basic lightbox and two animations (fadeAnimation and slideAnimation). -If you'd like to use the animations in animations.js (such as scaleAnimation and rotateAnimation), you'll need to add the jquery.gsap plugin to your site. Instructions for that can be found [here](http://www.greensock.com/jquery-gsap-plugin/).
\ No newline at end of file +If you'd like to use the animations in animations.js (such as scaleAnimation and rotateAnimation), you'll need to add the jquery.gsap plugin to your site. Instructions for that can be found [here](http://www.greensock.com/jquery-gsap-plugin/). |