(
config: any,
root: string,
isReadOnly: boolean,
extraOptions: Record<string, boolean>,
)
| 458 | } |
| 459 | |
| 460 | private static getEmbeddedHtml( |
| 461 | config: any, |
| 462 | root: string, |
| 463 | isReadOnly: boolean, |
| 464 | extraOptions: Record<string, boolean>, |
| 465 | ): string { |
| 466 | const embedUrl = Sharing.getEmbeddedUrl(config, root, isReadOnly, extraOptions); |
| 467 | // The attributes must be double quoted, the full url's rison contains single quotes |
| 468 | return `<iframe width="800px" height="200px" src="${embedUrl}"></iframe>`; |
| 469 | } |
| 470 | |
| 471 | private static getEmbeddedUrl(config: any, root: string, readOnly: boolean, extraOptions: object): string { |
| 472 | const location = window.location.origin + root; |
no test coverage detected