This function shows all annotation triggers.
Parameter
action: “showAnnotationTriggers”
Example
<div class="augmenteers-embed-wrapper">
<iframe id="augmenteersIframe"
src="https://viewer.augmenteers.com/embedded-model/b5ee0af5ec2cd3a3d19a373d03b19d0a?autostart=true&controls=false&btn_start=false&viewer_api=true"
frameborder="0" allow="fullscreen" mozallowfullscreen="true" webkitallowfullscreen="true">
</iframe>
</div>
<script type="text/javascript">
const iframe = document.getElementById("augmenteersIframe").contentWindow;
function showAnnotationTriggers() {
iframe.postMessage({action: "showAnnotationTriggers"}, "*");
}
</script>
<button onclick="showAnnotationTriggers()">
Show Annotations
</button>