Extends
Constructor
new ve.ce.AnnotationFactory()
#
Hierarchy
ContentEditable annotation factory.
- Source:
ContentEditable annotation factory.
Methods
canAnnotationBeActive(type) → {boolean}
#
Check if an annotation can be active
Parameters:
Name | Type | Description |
---|---|---|
type |
string | Annotation type |
- Source:
Returns:
- Type
- boolean
Check if an annotation can be active
getDescription(annotation) → {string}
#
Get a plain text description of an annotation model.
Parameters:
Name | Type | Description |
---|---|---|
annotation |
ve.dm.Annotation | Annotation to describe |
- Source:
Returns:
Description of the annotation
- Type
- string
Throws:
-
Unknown annotation type
- Type
- Error
Get a plain text description of an annotation model.