famous-carousel
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -0,0 +0,0 @@ /** |
@@ -157,3 +157,3 @@ /** | ||
carousel.arrows.next.node.setAbsoluteSize(40, 40); | ||
carousel.arrows.next.node.setPosition(-40, 0, 0); | ||
carousel.arrows.next.node.setPosition(10, 0, 0); | ||
carousel.arrows.next.node.setAlign(1, 0.5, 0); | ||
@@ -165,3 +165,3 @@ carousel.arrows.next.node.setMountPoint(1, 0.5, 0); | ||
carousel.dots.node.setAbsoluteSize(null, 20); | ||
carousel.dots.node.setPosition(0, -30, 0); | ||
// carousel.dots.node.setPosition(0, -30, 0); | ||
carousel.dots.node.setAlign(0.5, 1, 0); | ||
@@ -168,0 +168,0 @@ carousel.dots.node.setMountPoint(0.5, 1, 0); |
@@ -0,0 +0,0 @@ /** |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /** |
{ | ||
"name": "famous-carousel", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"author": "Peace Chen", | ||
@@ -5,0 +5,0 @@ "contributors": ["Tony Alves (https://github.com/talves)"], |
@@ -1,2 +0,2 @@ | ||
##Famo.us Carousel | ||
## Famo.us Carousel | ||
@@ -10,8 +10,8 @@ A responsive carousel / slideshow / slider powered by Famo.us. Supports mouse, touch/swipe and keyboard navigation.<BR> | ||
var famousCarousel = require("famous-carousel/src/Carousel"); | ||
var carousel = new famousCarousel.Carousel( {...} ); | ||
var famousCarousel = require("famous-carousel").Carousel; | ||
var carousel = new famousCarousel( {...} ); | ||
Global: | ||
var carousel = famousCarousel.default({ | ||
var carousel = famousCarousel.default( {...} ); | ||
@@ -197,2 +197,5 @@ __If you see any unusual behavior after upgrading, delete node\_modules and run _npm install_ again__ | ||
**Q:** The slides are shifted down and to the right.<BR> | ||
**A:** The selector element must not have any padding. The work-around for this [Famous engine bug](https://github.com/Famous/engine/issues/411) is to wrap the selector element in a container element which has the padding. Remove all padding from the selector element. See _example/index.html_ for... an example. | ||
### To Do | ||
@@ -199,0 +202,0 @@ Pull requests are welcome. When submitting a PR, please make sure _npm run test_ passes. |
@@ -142,3 +142,3 @@ /** | ||
carousel.arrows.next.node.setAbsoluteSize(40, 40); | ||
carousel.arrows.next.node.setPosition(-40, 0, 0); | ||
carousel.arrows.next.node.setPosition(10, 0, 0); | ||
carousel.arrows.next.node.setAlign(1, 0.5, 0); | ||
@@ -150,3 +150,3 @@ carousel.arrows.next.node.setMountPoint(1, 0.5, 0); | ||
carousel.dots.node.setAbsoluteSize(null, 20); | ||
carousel.dots.node.setPosition(0, -30, 0); | ||
// carousel.dots.node.setPosition(0, -30, 0); | ||
carousel.dots.node.setAlign(0.5, 1, 0); | ||
@@ -153,0 +153,0 @@ carousel.dots.node.setMountPoint(0.5, 1, 0); |
@@ -0,0 +0,0 @@ /** |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
212
65928
27
1309