Forum Discussion
MichaelBakker
4 years agoRegular Visitor
Custom Visual with Report page tooltip - Determine if user has enabled this option
I have created report page tooltip functionality in a custom visual, which works fine. I want to avoid executing unnecessary code when initializing the visual and need to know whether the user has d...
v-luwang-msft
Community Support
4 years agoMichaelBakker
4 years agoRegular Visitor
I use this in the visual like this:
let useToolTipService: boolean = this.host.tooltipService.enabled(); // ALWAYS TRUE
However, the result of this method has no relation with whether the user of the visual has enabled/activated report page tooltips in the Power BI UI. It's always true.