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.
Example
instance.addEventListener("annotationPresets.update", (event) => {
event.preventDefault();
});
Members
Members
Current active preset ID.
Type:
- string
Properties and values of the current active preset.
Type:
Properties and values to be merged with the ones in the current active preset.
Type:
Call this method to opt-out from updating the current preset.
Type:
- function