annotationCreated Event (WebUiAnnotationButtonJS)
In This Topic
Occurs when annotation is created.
Syntax
var instance; // Type: WebUiAnnotationButtonJS
instance.annotationCreated = function(event) { }
annotationCreated = function (
: object
: object
) { };
Parameters
- event
- Object that contains information about event. Object has the following properties:
- target (object): An object that raised the event.
- type (string): Event name.
- data (object): An object that contains data, which were specified when subscribing to the event.
- originalEvent (object): Original event if event was received from DOM-element.
- annotation
- WebAnnotationViewJS object.
Browser Compatibility
See Also