Skip to content

Commit

Permalink
fix indentation, add newline
Browse files Browse the repository at this point in the history
  • Loading branch information
jkissel committed Oct 3, 2023
1 parent 99f0f06 commit 0add82b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,8 @@ cadenzaClient.show('{embeddingTargetId}', {
- Cadenza JS does not handle user authentication: If the user is not already logged in, the normal authentication flow of Cadenza will run. By default, the login page would be shown to the user.
#### Show the Generated PDF of a Jasper Report View Directly
Views of type "JasperReports report" can be shown in an iFrame like any other view.
But there is an additional option to show only the generated PDF without any Cadenza footers or headers.
This is done by setting the "mediaType" option to "application/pdf".
Views of type "JasperReports report" can be shown in an iframe like any other view. Additionally, there is an option to show only the generated PDF without any Cadenza footers or headers. This is done by setting the "mediaType" option to "application/pdf".
```javascript
cadenzaClient.show('{embeddingTargetId}', {
Expand All @@ -87,7 +86,7 @@ Cadenza JS uses the [AbortController Web API](https://developer.mozilla.org/en-U
```javascript
const abortController = new AbortController();
try {
await cadenzaClient.show('{embeddingTargetId}', { signal: abortController.signal });
await cadenzaClient.show('{embeddingTargetId}', { signal: abortController.signal });
} catch (error) {
if (error.name === 'AbortError') {
console.log('Iframe loading was aborted');
Expand Down

0 comments on commit 0add82b

Please sign in to comment.