I want to delay slideOutItem by 500 millisecond. Canno't get that working.
if(current === idx) {
slideOutItem($menuItems.eq(current), false, 250, 'easeOutQuint', true);
current = -1;
}
Something like this
if(current === idx) {
setTimeout(function () {
slideOutItem($menuItems.eq(current), false, 250, 'easeOutQuint', true);
} , 500);
current = -1;
}