Skip to main content

annotationWrapper

Typestring | HTMLElement
Default".view3d-annotation-wrapper"

CSS Selector string or HTMLElement for the annotation wrapper element.

<div id="wrapper" class="view3d-wrapper">
<canvas class="view3d-canvas"></canvas>
<div class="view3d-annotation-wrapper">
<div class="view3d-annotation" data-position="0 -0.5 0.5"></div>
<div class="view3d-annotation" data-position="0.5 1 -0.3"></div>
<div class="view3d-annotation" data-position="0.3 0.3 0.3"></div>
</div>
</div>
new View3D("#wrapper", {
annotationWrapper: ".view3d-annotation-wrapper"
})