Example
Register a AnnotationPresetsUpdateEvent using NutrientViewer.EventName.ANNOTATION_PRESETS_UPDATE and prevent the current preset from being updated.
instance.addEventListener("annotationPresets.update", (event) => {
event.preventDefault();
});
Properties
AnnotationPreset
Properties and values to be merged with the ones in the current active preset.
This event will be emitted whenever the current preset is about to be updated with new property values set by the user in the annotation toolbar.