Forum Discussion
Ameb
Helper I
8 years agoTypescript API: switchMode
On powebi-models there is a enum defined as viewMode, which is used in the definition of switchMode. But the implementation is inconsistent /**
* Switch Report view mode.
*
* @retur...
alihm
Power BI Team
7 years agoThis is fixed.
swithcMode now takes an enum or a string.
Report.switchMode(viewMode: string | ViewMode)