viewer2d.select
Invoked when the user changes the set of selected objects in the viewer.
Example
Usage
const onSelect = function (event, objectIds) {
console.log("viewer2d.select", "objectIds:", objectIds);
};
$("#viewer-2d").on("viewer2d.select", onSelect);Parameters
onSelect
Function called when the user changes the set of selected objects in the viewer.
Type |
|---|
(event: Object, objectIds: Array[String]) => Void |
event
objectIds
The ids of the selected objects.