We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I've tried to set the pause on hover feature.
All I have done is to set "pause: true" like this: var latestNewsSlidr = slidr.create('slidr-ul', { 99 breadcrumbs: false, 100 controls: 'none', 101 direction: 'horizontal', 102 fade: true, 103 overflow: true, 104 timing: { 'cube': '0.5s ease-in' }, 105 transition: 'linear', 106 pause: true, 107 touch: true 108 }).add('h', ['one', 'two', 'three', 'one']).auto();
It doesn't seem to work. I've also put a console log in the source code, and every time i hover the slidr it log "paused", but it continues to slide.
// Automatically transition between slides. 1170 auto: function(, msec, direction) { 1171 if (.started && slides.isdir(direction)) { 1172 actions.stop(_); 1173 .auto.msec = msec; 1174 .auto.direction = direction; 1175 .auto.id = setInterval(function() { 1176 if (!(.settings['pause'] && nav.mouse.isOver(.id))) slides.slide(, direction); 1177 console.log("paused"); 1178 }, msec); 1179 } 1180 },
I have done also another try:
background: red; }
When I hover it began red, but it continues to slide.
Any idea why?
The text was updated successfully, but these errors were encountered:
Hi! I have the same problem. Did find somebody answer?
Sorry, something went wrong.
Same problem... common issue not resolved?
No branches or pull requests
Hi,
I've tried to set the pause on hover feature.
All I have done is to set "pause: true" like this:
var latestNewsSlidr = slidr.create('slidr-ul', {
99 breadcrumbs: false,
100 controls: 'none',
101 direction: 'horizontal',
102 fade: true,
103 overflow: true,
104 timing: { 'cube': '0.5s ease-in' },
105 transition: 'linear',
106 pause: true,
107 touch: true
108 }).add('h', ['one', 'two', 'three', 'one']).auto();
It doesn't seem to work. I've also put a console log in the source code, and every time i hover the slidr it log "paused", but it continues to slide.
// Automatically transition between slides.
1170 auto: function(, msec, direction) {
1171 if (.started && slides.isdir(direction)) {
1172 actions.stop(_);
1173 .auto.msec = msec;
1174 .auto.direction = direction;
1175 .auto.id = setInterval(function() {
1176 if (!(.settings['pause'] && nav.mouse.isOver(.id))) slides.slide(, direction);
1177 console.log("paused");
1178 }, msec);
1179 }
1180 },
I have done also another try:
latestNewsSlidr {
background: red;
}
When I hover it began red, but it continues to slide.
Any idea why?
The text was updated successfully, but these errors were encountered: