register Object Review Annotation Type
Type: Function
How to get registerObjectReviewAnnotationType?
JavaScript
import registerObjectReviewAnnotationType from 'fontoxml-feedback/src/registerObjectReviewAnnotationType.js'
Registers a object review annotation type under the given id. Object annotations only apply to the objects that match the enabledSelector set in the options.
Example usage can be found here: https://github.com/FontoXML/fontoxml-review-reference-configuration/blob/develop/src/install.js
For annotations on the whole loaded publication, see registerPublicationReviewAnnotationType. For annotations on text, see registerTextRangeReviewAnnotationType.
Arguments
id
(Required)
Type: ReviewAnnotationTypeId
object
Review Annotation Options (Required)