microsoft / powerbi-client-angular

Power BI Angular component. This library lets you embed Power BI report, dashboard, dashboard tile, report visual, or Q&A in your Angular application.
Other
135 stars 65 forks source link

Pass click event outside #30

Closed daniel-seitz closed 1 week ago

daniel-seitz commented 2 years ago

Tried to listen for the click even: (click)="callMyMethod" but this is never called, guessing there is a stopPropagation in place somewhere inside.

Using report.on('click'... does not work and gives an error since its not defined in the available events.

Our workaround is to listen for the rendered event but a normal click would be better.

This feature is especially interesting when the app has a inactivity timeout and working inside the report needs to reset the countdown. Also I could think of other scenarios when the app needs to react when something is done inside.

Please consider / give feedback on this matter. Thank you, Daniel

v-MadhavC commented 2 weeks ago

Thank you for reporting this issue. This is a feature request, please add it in the following link where we can collect votes: https://ideas.fabric.microsoft.com . If the feature is already there, you can add a vote.