Skip to content

Commit b57796d

Browse files
committed
Adds close event in readme
1 parent 211a10b commit b57796d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,12 +106,16 @@ example:
106106
{ width: 1000, position: 'bottomleft', parser: 'ors' }
107107
```
108108

109-
### position
109+
#### position
110110

111111
String to set the position on the map. Values can be `'bottomleft'`, `'bottomright'`, `'topleft'`, `'topright'`.
112112
Fast setting for `options.position` (overwriting).
113113

114-
### expand
114+
#### expand
115115

116116
Boolean for expanding the heightgraph window on creation. Values are `true` and `false`.
117117
Fast setting for `options.expand` (overwriting).
118+
119+
### Events
120+
121+
This component emits an `closed` when the up-right corner close button is hit and it is closed. If can be used to synchronize the visibility of the graph when it is displayed conditionally.

0 commit comments

Comments
 (0)