Skip to content
Snippets Groups Projects
Commit 154747a2 authored by mateusz-winiarczyk's avatar mateusz-winiarczyk
Browse files

docs(overlays): fix overlays description

parent 6c76c7f1
No related branches found
No related tags found
1 merge request!152feat(plugins): data overlays (MIN-222)
Pipeline #87369 passed
......@@ -17,7 +17,7 @@ To get list of visible data overlays, plugins can use the `getVisibleDataOverlay
##### Example of getVisibleDataOverlays usage:
```javascript
window.minerva.overlays.data.getDataOverlays();
window.minerva.overlays.data.getVisibleDataOverlays();
```
#### Show an overlay
......@@ -57,7 +57,10 @@ To add an overlay, plugins can use the `addDataOverlay` method defined in `windo
##### Example of addDataOverlay usage:
```javascript
window.minerva.overlays.addDataOverlay(109);
window.minerva.overlays.addDataOverlay({
name: 'Plugin Test',
fileContent: 'plugin test content',
});
```
#### Remove an overlay
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment