Closed CrackerakiUA closed 5 years ago
Trying to get connection with the calendar.
<ngx-fullcalendar #theCalendar ></ngx-fullcalendar>
import { FullCalendarComponent } from 'ngx-fullcalendar'; ... @ViewChild('theCalendar') theCalendar: FullCalendarComponent; ngOnInit() { console.log(this.theCalendar); }
which log undefined. What I am doing wrong?
undefined
@StickNitro can you quickly check this? I believe this will take 5 min of your time.
@CrackerakiUA please use console.log in ngAfterViewInit.
works, thank you.
Trying to get connection with the calendar.
which log
undefined
. What I am doing wrong?