Hi everybody,
I would like to know if there's a quick solution to render an angular component into an event.
I've already inject a component into an event in a DayPilotScheduler using the hook like this:
onDomAddEvent: args => {
console.log("Creating Component for " + args.e.text());
const factory = this.resolver.resolveComponentFactory(<MyComponent>);
const component = factory.create(this.injector);
component.changeDetectorRef.detectChanges();
args.element = component.location.nativeElement;
args.component = component;
}
I've tried to apply this solution in DayPilotMonth but it seems doesn't run.
It is possible to render an angular component into DayPilotMonth event?