Answers for "dayclick for today date and onward"

0

dayclick for today date and onward

dayClick: function( date, jsEvent, view) {
    if (moment().format('YYYY-MM-DD') === date.format('YYYY-MM-DD') || date.isAfter(moment())) {
        // This allows today and future date
    } else {
        // Else part is for past dates
    }

},
Posted by: Guest on October-26-2021

Code answers related to "dayclick for today date and onward"

Code answers related to "Javascript"

Browse Popular Code Answers by Language