Last active
March 10, 2023 21:24
-
-
Save bjoerntx/921f0aeaa81d0b8e910067dfdc6462e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="/TextControl/GetResource?Resource=minimized.tx-viewer.min.js"></script> | |
<script src="/TextControl/GetResource?Resource=minimized.tx-viewer-component.min.js"></script> | |
<tx-document-viewer | |
id="viewer1" | |
settings='{"documentData":"VGV4dCBDb250cm9s", "dock":1}'> | |
</tx-document-viewer> | |
<tx-document-viewer | |
id="viewer2" | |
settings='{"documentData":"VGV4dCBDb250cm9s", "dock":1}'> | |
</tx-document-viewer> | |
<script> | |
function loadDocuments() { | |
viewer1.loadDocument(btoa("<strong>Viewer1</strong>")); | |
viewer2.loadDocument(btoa("<strong>Viewer2</strong>")); | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment