showAnimationTriggers()

This function shows all animation triggers.


Parameters:

  • action: "showAnimationTriggers"

Example

<div class="vrxs-embed-wrapper">
  <iframe id="vrxsIframe"
          src="https://viewer.vrxs.de/embedded-model/ModelID?autoplay=true&controls=false&btn_start=false&enable_viewer_api=true"
          frameborder="0" allow="fullscreen" mozallowfullscreen="true" webkitallowfullscreen="true">

  </iframe>
</div>

<script type="text/javascript">
  const iframe = document.getElementById("vrxsIframe").contentWindow;

  function showAnimationTriggers() {
    iframe.postMessage({action: "showAnimationTriggers"}, "*");
  }

</script>
<button onclick="showAnimationTriggers()">
  Show Animations
</button>