Hello,
I’ve 2 components. I’ve the written hours comp with a in it from the flex-calendar comp.
I want to have a button in the written-hours page that triggers the renderCalendar method in the flexCalendar.
I use EventMiter to communicate with the written-hours page FlexCalendar -> writtenHours.DateChange()
but now i want:
buttonClick (written-h.) -> written-hours.gotoToday() -> flex-Calendar.goToDate(date)
Does someone know how to do this?