Skip to content

v0.2.0

Compare
Choose a tag to compare
@cdata cdata released this 05 Apr 18:24
· 1170 commits to master since this release

New features

  • 🆕camera-orbit: attribute lets you specify where the camera is positioned #452
  • 🆕getCameraOrbit(): method lets you access the camera position in real time #452
  • 🆕interaction-prompt-threshold: attribute lets you control how much time passes before the user is prompted to interact #452

Bug fixes

  • Stopped screen readers from focusing uninteresting elements in #452
    • Thanks to @svinkle for related a11y research
  • The interaction prompt now waits for the model to load before starting its internal timer #452
  • @pushmatrix ensured that auto-rotate does not begin until the model is loaded #471

Other notable changes

  • ✋BREAKING CHANGE: The controls attribute has been renamed to camera-controls #452
  • ✋BREAKING CHANGE: The default camera position when controls are disabled has changed #452
    • To use the old default, add camera-orbit="0 90deg auto" to your <model-viewer> markup
  • @yuinchien gave our docs an updated look at feel #474
  • @mikkoh improved dev build times #468
  • Per-frame compositing performance was improved by selectively disabling SVG animations #452