Hightlight code
This commit is contained in:
@@ -17,13 +17,15 @@ You can create info window by passing custom HTML or Vue components as the child
|
|||||||
## Open/close info window
|
## Open/close info window
|
||||||
You can pass `opened` prop to open and close InfoWindows.
|
You can pass `opened` prop to open and close InfoWindows.
|
||||||
|
|
||||||
```vue
|
```vue{7}
|
||||||
<GmapMap>
|
<GmapMap>
|
||||||
<GmapMarker
|
<GmapMarker
|
||||||
:key="index"
|
:key="index"
|
||||||
v-for="(m, index) in markers"
|
v-for="(m, index) in markers"
|
||||||
>
|
>
|
||||||
<GmapInfoWindow :opened="true">
|
<GmapInfoWindow
|
||||||
|
:opened="true"
|
||||||
|
>
|
||||||
<div>I am in info window <MyComponent/>
|
<div>I am in info window <MyComponent/>
|
||||||
</div>
|
</div>
|
||||||
</GmapInfoWindow>
|
</GmapInfoWindow>
|
||||||
|
|||||||
Reference in New Issue
Block a user