Skip to content

Commit 22ddefb

Browse files
author
Amit Shuster
committed
Merged PR 14960: Fix front load element listener bug
Fix front load listener bug, the element listener was not removed on reset, therefore, two listeners were active when re-embedding
1 parent 67458c8 commit 22ddefb

8 files changed

Lines changed: 63 additions & 19 deletions

File tree

‎demo/package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"fetch": "^1.0.0",
3636
"http-server": "^0.10.0",
3737
"jquery": "^3.1.0",
38-
"powerbi-client": "^2.6.5",
38+
"powerbi-client": "^2.6.6",
3939
"syntaxhighlighter": "4.0.1"
4040
},
4141
"devDependencies": {}

‎dist/powerbi-client.d.ts‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! powerbi-client v2.6.5 | (c) 2016 Microsoft Corporation MIT */
1+
/*! powerbi-client v2.6.6 | (c) 2016 Microsoft Corporation MIT */
22
declare module "util" {
33
/**
44
* Raises a custom event with event data on the specified HTML element.
@@ -197,6 +197,10 @@ declare module "embed" {
197197
* Type of embed
198198
*/
199199
embeType: string;
200+
/**
201+
* Handler function for the 'ready' event
202+
*/
203+
frontLoadHandler: (HTMLElement) => any;
200204
/**
201205
* Creates an instance of Embed.
202206
*

‎dist/powerbi.js‎

Lines changed: 35 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)