mirror of
https://github.com/slidevjs/rough-notation.git
synced 2026-01-28 16:00:26 +01:00
Merge pull request #20 from linkstrifer/patch-1
Add Annotation Group Object documentation
This commit is contained in:
10
README.md
10
README.md
@@ -110,6 +110,16 @@ Hides the annotation if showing. This is not animated.
|
|||||||
#### remove()
|
#### remove()
|
||||||
Unlinks the annotation from the element.
|
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.
|
||||||
|
|
||||||
## Wrappers
|
## Wrappers
|
||||||
|
|
||||||
Rough Notation has wrappers for multiple libraries and frameworks:
|
Rough Notation has wrappers for multiple libraries and frameworks:
|
||||||
|
|||||||
Reference in New Issue
Block a user