updateReview () {
        let _self = this,
            numDatesToAdd = _self.clndr.options.extras.datesToAdd.length,
            numDatesToDel = _self.clndr.options.extras.datesToDel.length,
            datesToAddContainer = _self.clndr.element.find('.js-dates-to-add'),
            datesToDelContainer = _self.clndr.element.find('.js-dates-to-del'),
            resetButton = _self.clndr.element.find('.js-calendar-reset');

        // Dates being added (outside of any recurrence pattern)
        if (numDatesToAdd > 0) {
            datesToAddContainer.html(numDatesToAdd + ` ${_self.pluralise('day', numDatesToAdd)} will be added`).show();
        }
        else {
            datesToAddContainer.html('').hide();
        }

        // Dates being removed (outside of any recurrence pattern)
        if (numDatesToDel > 0) {
            datesToDelContainer.html(numDatesToDel + ` ${_self.pluralise('day', numDatesToDel)} will be removed`).show();
        }
        else {
            datesToDelContainer.html('').hide();
        }

        // Show the reset button if changes are to be made
        if (numDatesToAdd != 0 || numDatesToDel != 0) {
            resetButton.show();
        }
        else {
            resetButton.hide();
        }
    }
/**
     * Updates the review panel to detail the number of exceptions being applied outside of any recurrence pattern. Controls
     * the visibility of certain elements and updates text counters.
     * 
     * Triggered by the paintMonth() method.
     */
Updates the review panel to detail the number of exceptions being applied outside of any recurrence pattern. Controls
the visibility of certain elements and updates text counters.

Triggered by the paintMonth() method.
Updates the review panel to detail the number of exceptions being applied outside of any recurrence pattern . Controls the visibility of certain elements and updates text counters . Triggered by the paintMonth () method .
updateReview () {
        let _self = this,
            numDatesToAdd = _self.clndr.options.extras.datesToAdd.length,
            numDatesToDel = _self.clndr.options.extras.datesToDel.length,
            datesToAddContainer = _self.clndr.element.find('.js-dates-to-add'),
            datesToDelContainer = _self.clndr.element.find('.js-dates-to-del'),
            resetButton = _self.clndr.element.find('.js-calendar-reset');
        if (numDatesToAdd > 0) {
            datesToAddContainer.html(numDatesToAdd + ` ${_self.pluralise('day', numDatesToAdd)} will be added`).show();
        }
        else {
            datesToAddContainer.html('').hide();
        }
        if (numDatesToDel > 0) {
            datesToDelContainer.html(numDatesToDel + ` ${_self.pluralise('day', numDatesToDel)} will be removed`).show();
        }
        else {
            datesToDelContainer.html('').hide();
        }
        if (numDatesToAdd != 0 || numDatesToDel != 0) {
            resetButton.show();
        }
        else {
            resetButton.hide();
        }
    }
updateReview ( ) { let _self = this , numDatesToAdd = _self . clndr . options . extras . datesToAdd . length , numDatesToDel = _self . clndr . options . extras . datesToDel . length , datesToAddContainer = _self . clndr . element . find ( '.js-dates-to-add' ) , datesToDelContainer = _self . clndr . element . find ( '.js-dates-to-del' ) , resetButton = _self . clndr . element . find ( '.js-calendar-reset' ) ; if ( numDatesToAdd > 0 ) { datesToAddContainer . html ( numDatesToAdd + ` ${ _self . pluralise ( 'day' , numDatesToAdd ) } ` ) . show ( ) ; } else { datesToAddContainer . html ( '' ) . hide ( ) ; } if ( numDatesToDel > 0 ) { datesToDelContainer . html ( numDatesToDel + ` ${ _self . pluralise ( 'day' , numDatesToDel ) } ` ) . show ( ) ; } else { datesToDelContainer . html ( '' ) . hide ( ) ; } if ( numDatesToAdd != 0 || numDatesToDel != 0 ) { resetButton . show ( ) ; } else { resetButton . hide ( ) ; } }
Updates the review panel to detail the number of exceptions being applied outside of any recurrence pattern.
Updates the review panel to detail the number of exceptions being applied outside of any recurrence pattern .
// Dates being added (outside of any recurrence pattern) // Dates being removed (outside of any recurrence pattern) // Show the reset button if changes are to be made