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 true left unhandled content type left unhandled content type event true left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type left unhandled content type function called when the user changes the set of selected objects in the viewer true left unhandled content type left unhandled content type event https //api jquery com/category/events/event object/ objectids list of selected object ids