Created
October 13, 2023 14:13
-
-
Save bjoerntx/34fd5b18c30d995cb6b102dcd7d8d6ca 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8" /> | |
<title>TX Text Control Document Viewer from JS</title> | |
<script src="http://localhost:8888/TextControl/GetResource?Resource=minimized.tx-viewer.min.js"></script> | |
<script src="http://localhost:8888/TextControl/GetResource?Resource=minimized.tx-viewer-component.min.js"></script> | |
<style> | |
#txDocumentViewer { | |
height: 100vH; | |
width: 100vW; | |
} | |
html, body { | |
height: 100%; | |
margin: 0; | |
padding: 0; | |
} | |
</style> | |
</head> | |
<body> | |
<tx-document-viewer id="viewer1" | |
settings='{"dock":1, "basePath":"http://localhost:8888"}'> | |
</tx-document-viewer> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment