I have a custom service that extends NgbDatepickerKeyboardService and I need to get an ElementRef to datepicker in processKey
method. The main idea is to get ElementRef and to query from this reference trying to find a div of the next day (I need to check if div has a class).
public processKey(event: KeyboardEvent, datepicker: NgbDatepicker): void {
const state = datepicker.state;
// how to get it here? NgbDatepicker does not have any public prop to do it
}