1+ /**
2+ * @hidden
3+ */
14import * as service from './service' ;
25import * as embed from './embed' ;
36import * as models from 'powerbi-models' ;
@@ -28,15 +31,20 @@ export interface IDashboardNode {
2831 * @implements {IFilterable}
2932 */
3033export class Dashboard extends embed . Embed implements IDashboardNode {
34+ /** @hidden */
3135 static allowedEvents = [ "tileClicked" , "error" ] ;
36+ /** @hidden */
3237 static dashboardIdAttribute = 'powerbi-dashboard-id' ;
38+ /** @hidden */
3339 static typeAttribute = 'powerbi-type' ;
40+ /** @hidden */
3441 static type = "Dashboard" ;
3542
3643 /**
3744 * Creates an instance of a Power BI Dashboard.
3845 *
3946 * @param {service.Service } service
47+ * @hidden
4048 * @param {HTMLElement } element
4149 */
4250 constructor ( service : service . Service , element : HTMLElement , config : embed . IEmbedConfigurationBase , phasedRender ?: boolean , isBootstrap ?: boolean ) {
@@ -96,7 +104,7 @@ export class Dashboard extends embed.Embed implements IDashboardNode {
96104
97105 /**
98106 * Handle config changes.
99- *
107+ * @hidden
100108 * @returns {void }
101109 */
102110 configChanged ( isBootstrap : boolean ) : void {
@@ -108,12 +116,17 @@ export class Dashboard extends embed.Embed implements IDashboardNode {
108116 ( < embed . IEmbedConfiguration > this . config ) . id = this . getId ( ) ;
109117 }
110118
119+ /**
120+ * @hidden
121+ * @returns {string }
122+ */
111123 getDefaultEmbedUrlEndpoint ( ) : string {
112124 return "dashboardEmbed" ;
113125 }
114126
115127 /**
116128 * Validate that pageView has a legal value: if page view is defined it must have one of the values defined in models.PageView
129+ * @hidden
117130 */
118131 private ValidatePageView ( pageView : models . PageView ) : models . IError [ ] {
119132 if ( pageView && pageView !== "fitToWidth" && pageView !== "oneColumn" && pageView !== "actualSize" ) {
0 commit comments