You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use the following API for a Javascript component:
# browserifyannotations=require("annotations")
# enable annotations on the specified elementobj=annotations.enable(el:"#my-iframe", style:"points", maskClass:"dark-translucent")
Once enabled, a shim should be placed on top of the element, which captures any click events. Based on the style passed in as an option, elements should be placed and positioned wherever the click occurred.
Other things I'd like to be able to do:
# This should give me a structure representing all of the annotationspersisted=obj.annotations()
# This should redraw all of the annotations on the given iframeobj.restore(persisted)
# this should allow me to bind to annotation eventsobj.on("annotation:received", (element, details) ->...)
# disable the annotations behaviorobj.disable()
Annotation Styles
points puts numbered points ontop of the element
boxes boxes allows me to drag boxes for annotations
I would like to use the following API for a Javascript component:
Once enabled, a shim should be placed on top of the element, which captures any click events. Based on the style passed in as an option, elements should be placed and positioned wherever the click occurred.
Other things I'd like to be able to do:
Annotation Styles
Annotation Objects
The text was updated successfully, but these errors were encountered: