Closed MrKou47 closed 8 years ago
I'm not quite clear on what this issue is about. Can you clarify/provide details?
I think the user is trying to ask whether we can setInterval
for it to flip by itself instead of using onclick
and hover
. Is there a way?
In that case you will need to set trigger: 'manual'
then use JS to flip it manually
// With version v1.1.0
$(element).flip({
trigger: 'manual'
});
setInterval(function() {
var isFlipped = $(element).data('flip-model').isFlipped;
$(element).flip(!isFlipped);
}, 3000);
i want the box slip itself autoinstands of
onclick
orhover
,just auto like setInterval. what trigger should i set ?