Skip to content
This repository was archived by the owner on Jul 13, 2022. It is now read-only.

Commit ca1f6ae

Browse files
Shahak Yosefaliabufoul
Shahak Yosef
authored andcommitted
Merged PR 191726: Application context improvements
Add multi-iframe support Front end was changed to be backward compatible !209445
1 parent 161f742 commit ca1f6ae

File tree

5 files changed

+201
-122
lines changed

5 files changed

+201
-122
lines changed

dist/powerbi-client.d.ts

+16-4
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,13 @@ declare module "embed" {
190190
* @hidden
191191
*/
192192
eventHandlers: IInternalEventHandler<any>[];
193+
/**
194+
* Gets or sets the eventHooks.
195+
*
196+
* @type {models.EventHooks}
197+
* @hidden
198+
*/
199+
eventHooks: models.EventHooks;
193200
/**
194201
* Gets or sets the Power BI embed service.
195202
*
@@ -418,6 +425,14 @@ declare module "embed" {
418425
* @returns {void}
419426
*/
420427
populateConfig(config: IBootstrapEmbedConfiguration, isBootstrap: boolean): void;
428+
/**
429+
* Validate EventHooks
430+
*
431+
* @private
432+
* @param {models.EventHooks} eventHooks
433+
* @hidden
434+
*/
435+
private validateEventHooks;
421436
/**
422437
* Adds locale parameters to embedUrl
423438
*
@@ -2159,10 +2174,6 @@ declare module "service" {
21592174
* @hidden
21602175
*/
21612176
private embedExisting;
2162-
/**
2163-
* @hidden
2164-
*/
2165-
private registerApplicationContextHook;
21662177
/**
21672178
* Adds an event handler for DOMContentLoaded, which searches the DOM for elements that have the 'powerbi-embed-url' attribute,
21682179
* and automatically attempts to embed a powerbi component based on information from other powerbi-* attributes.
@@ -2211,6 +2222,7 @@ declare module "service" {
22112222
* @hidden
22122223
*/
22132224
handleTileEvents(event: IEvent<any>): void;
2225+
private invokeSDKHook;
22142226
/**
22152227
* Given an event object, finds the embed component with the matching type and ID, and invokes its handleEvent method with the event object.
22162228
*

0 commit comments

Comments
 (0)