Events
viewer3d.select
invoked when the user changes the set of selected objects in the scene example usage const onselect = function (event) { const { selected } = event; console log("viewer3d select", "selected ", selected); }; viewer3d addeventlistener("viewer3d select", onselect); jquery const onselect = function (event, objectids) { console log("viewer select", "objectids ", objectids); }; $("#viewer 3d") on("viewer select", onselect); parameters onselect function called when the user changes the set of selected objects in the scene type (event object) => void event name type description selected array\[string] list of selected object ids function called when the user changes the set of selected objects in the viewer type (event object, objectids array\[string]) => void event jquery event https //api jquery com/category/events/event object/ objectids list of selected object ids