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 => {
...
});
Gets the dataset ID from the first available location: createConfig or embed url.
checks if the report is saved.
report.isSaved()
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 create report configuration.
Generated using TypeDoc
A Power BI Report creator component
Create
{Embed}