Description
Is your feature request related to a problem? Please describe
We have built a time reporting component based on your angular calendar package. Our component uses a popover to make possible the time riporting (can be seen on the attached picture below) and the popover itself based on Angular CDK overlay. The popover component uses flexibleConnectedTo() PositionStrategy
and for the proper alignment of the popup we need to provide the originating element (ElementRef | HTMLElement | Point
) the popover should be snapped to.
For this to work we use a hacky solution... setting ids to the hour segments and events based on their timestamp or event id and when one of them clicked we try to parse the time / get the id of the originating event and guess the element. As you can see this one is not the best solution.
Describe the solution you'd like
Currently there are multiple usable events (like dayClicked, eventClicked, eventTimesChanged etc.) which exposes a lot of information but not the originating HTML element itself the action is used on.
So it would be really grate if we could pass the actual element as a parameter.
Describe your use case for implementing this feature
The use case would be the above mentioned improvement, where we could greatly reduce the complexity of the originating element parsing and improve code readability.
Additional context