Last active
May 24, 2024 17:55
-
-
Save matehat/99b1fc71b68e6a8c7a3d11979008219c to your computer and use it in GitHub Desktop.
Braver Embed example
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
<html> | |
<title>Braver Beacon</title> | |
<script defer src="braver.js"></script> | |
<body></body> | |
<script> | |
window.addEventListener("load", function () { | |
Braver.activateSession( | |
"jwt-token", | |
"user-id", | |
"tenant-id", | |
{ position: { right: 32, bottom: 32 } } | |
); | |
}); | |
</script> | |
</html> |
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
Braver.navigateToPatient("patient-id"); | |
Braver.navigateToThread("thread-id"); | |
Braver.navigateToCareChannel("channel-id"); | |
Braver.setWindowVisibility(true); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment