Annotation object
Type of annotation to add: "highlight", "underline", "mark"
EpubCFI range to attach annotation to
Data to assign to annotation
Index in the Spine of the Section annotation belongs to
Callback after annotation is clicked
CSS class to assign to annotation
CSS styles to assign to annotation
annotation
Annotation object
Param: options
Param: options.type
Type of annotation to add: "highlight", "underline", "mark"
Param: options.cfiRange
EpubCFI range to attach annotation to
Param: options.data
Data to assign to annotation
Param: options.sectionIndex
Index in the Spine of the Section annotation belongs to
Param: options.cb
Callback after annotation is clicked
Param: className
CSS class to assign to annotation
Param: styles
CSS styles to assign to annotation
Returns
annotation