threesixty.js icon indicating copy to clipboard operation
threesixty.js copied to clipboard

Lazy loading

Open Carnoisseur1979 opened this issue 2 years ago • 1 comments

This implements lazy loading, to avoid initialization and loading any images until the container intersects with the viewport, using the Intersection Observer API. If play() is called before initialization, this is also deferred until after the container is visible and has been initialized.

Carnoisseur1979 avatar Feb 20 '23 10:02 Carnoisseur1979

If you're interested, this is implemented here: https://www.carnoisseur.com/products/details/disklok-steering-wheel-lock

Scroll down and the 360 viewer in the product description loads when visible.

Carnoisseur1979 avatar Feb 20 '23 11:02 Carnoisseur1979