af-carousel's People
af-carousel's Issues
af undefined error
I am trying to integrate this with my appframework 2.0 based code. I get an error:
Uncaught ReferenceError: af is not defined
on the last line of the af.carousel.js file leading to a
Uncaught TypeError: Object [object Object] has no method 'carousel' index.html:213
init_carousel
Any ideas on how to fix it?
Issues with webdriver
Please see this StackOverflow question: http://stackoverflow.com/q/17652947/777939
And particularly, my proposed solution here: http://stackoverflow.com/a/17653981/777939
Will this work? What is the reason for using transform instead of margin?
e.touches undefined
Hello Ian,
I think
e.touches
should be replaced by
e.originalEvent.touches
for instance in e.originalEvent.touches[0] on line 133.
Tell me if it seems ok for you and i'll do a pull request.
Pascal
The panel vertical scroll is also effected when swiping the af-carousel
I put the carousel in appframework panel.(2.1 version). When swiping the af-carousel the vertical scroll is also effected by the swipe causing the two swipes to clash. Is there a way to prevent the vertical swipe from activating when i am using the af-carousel.
Getting the slide index on carousel change
How might I get the index of the new slide/element after the carousel has moved and relay it back to my code as an event?
By placing console.log(this.carouselIndex); at the end of the touchEnd() function I can see the correct index, but can't seem get it back to my main code.
I also see $.trigger(this,"movestop",[this.el]); in the same function, which presumably does what I'm trying to do, but listening for it with the below has no effect.
// begin ui ready -----------------
$.ui.ready(function(){
var options={
...
wrap:true //Creates a continuous carousel
}
var carousel = $("#my_div").carousel(options);
$(document).on('movestop', "#my_div", function(evt) {
alert(123);
});
});
// end ui ready -----------------
Any ideas what might be wrong? Thanks
Next/prev
Does it have next and prev buttons?
Carousel not working
Hello we tried to get the carousel working in the actual AppFramework 2.1. but seems, that there is a problem. No JS error appears but the Carousel Elements appear among themselves.
Actually we tested in the browser here:
http://mobile.wm-it.org/appframework2.1/
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.