when I try to navigate from the date for next month by the logic .It does apply to the next month date but calender view is not changing to the appropriate month.
var newDate = new NgbDate(this.deliveryDate.year,this.deliveryDate.month,this.deliveryDate.day)
let date = this.calender.getNext(newDate,"d",1)
From NgbDatepicker - Basic Datepicker, it requires
to update the Calendar view.
To do the calendar navigation in the component,
Get the
NgbDatepickerfrom HTML with id: "dp" via@ViewChild().The below code would only return the Date value but not update the Calendar view. At the same time, you need "m" to update the month.
Sample StackBlitz Demo