mirror of
https://github.com/slidevjs/rough-notation.git
synced 2026-01-15 01:49:25 +01:00
Add Annotation Group Object documentation
This commit is contained in:
11
README.md
11
README.md
@@ -109,3 +109,14 @@ Hides the annotation if showing. This is not animated.
|
||||
|
||||
#### remove()
|
||||
Unlinks the annotation from the element.
|
||||
|
||||
## Annotation Group Object
|
||||
|
||||
When you call the `annotationGroup` function, you get back an annotation group object, which has the following methods:
|
||||
|
||||
#### show()
|
||||
Draws all the annotations in order. If the annotation is set to animate (default), it will animate the drawing. If called again, it will re-draw the animation.
|
||||
|
||||
#### hide()
|
||||
Hides all the annotations if showing. This is not animated.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user