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
136 stars 65 forks source link

Allow applying css classes without defining them globally #16

Closed dirthsj closed 3 weeks ago

dirthsj commented 2 years ago

ag-grid-angular allows this it is very nice, as it allows reuse of the component in multiple areas of your application with differing requirements.

KotanaSai21 commented 1 year ago

@dirthsj Not sure we understand your request. It will be helpful if you could please raise a PR with this feature changes to understand better. Thank you.

dirthsj commented 1 year ago

Currently you can set [cssClassName] to apply styles to the embedded component. But angular applies View Encapsulation to component-scoped styles, so any css being applied needs to be declared globally in styles.css.

I would like to be able to apply view-encapsulated styles to the embedded component.

v-MadhavC commented 3 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.