HoopsExplodeButtonElement
-
class
wvc.HoopsExplodeButtonElement() Provides a toolbar button with a slider to control model explode magnitude. Need to connect to a web viewer instance through the
webViewerproperty to query model bounds before starting explode.Examples
<hoops-toolbar-explode dropDownPosition="right"></hoops-toolbar-explode> <script> const explodeButton = document.getElementsByTagName("hoops-toolbar-explode")[0]; explodeButton.webViewer = webViewerInstance; </script>
Custom Element
hoops-toolbar-explodeAttributes
dropDownPosition
Defines where the explode dropdown is rendered relative to the button.Services
ExplodeService
Service used to initialize, read, and update explode state.Since
2026.2.0
Constructors
-
wvc.HoopsExplodeButtonElement.constructor() - HoopsExplodeButtonElement():
HoopsExplodeButtonElementReturns:
HoopsExplodeButtonElement
Properties
-
wvc.HoopsExplodeButtonElement.dropDownPosition - dropDownPosition: (“top” | “left” | “right” | “bottom”)
Represents the position where the dropdown is located relative to the button. Possible values are “bottom”, “top”, “right”, or “left”. Default value is “right”.
-
wvc.HoopsExplodeButtonElement.webViewer - webViewer: (None | WebViewer)
Connected web viewer instance used to query model bounds before starting explode.