hideAnimationTriggers()

This function hides all animation triggers.


Parameters:

  • action: "hideAnimationTriggers"

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 hideAnimationTriggers() {
    iframe.postMessage({action: "hideAnimationTriggers"}, "*");
  }

</script>
<button onclick="hideAnimationTriggers()">
  Hide Animations
</button>