Handle config changes.
Requests the browser to exit fullscreen mode.
Requests the browser to render the component's iframe in fullscreen mode.
Get the correlationId for the current embed session.
// Get the correlationId for the current embed session
report.getCorrelationId()
.then(correlationId => {
...
});
The ID of the tile
Removes one or more event handlers from the list of handlers. If a reference to the existing handle function is specified, remove the specific handler. If the handler is not specified, remove all handlers for the event name specified.
report.off('pageChanged')
or
const logHandler = function (event) {
console.log(event);
};
report.off('pageChanged', logHandler);
Adds an event handler for a specific event.
report.on('pageChanged', (event) => {
console.log('PageChanged: ', event.page.name);
});
Reloads embed using existing configuration. E.g. For reports this effectively clears all filters and makes the first page active which simulates resetting a report back to loaded state.
report.reload();
Removes element's tabindex attribute
Saves Report.
SaveAs Report.
Set accessToken.
Sets element's tabindex attribute
Set the component title for accessibility. In case of iframes, this method will change the iframe title.
Validate load configuration.
Generated using TypeDoc
The Power BI tile embed component
Tile
{Embed}