Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
minerva
frontend
Commits
154747a2
Commit
154747a2
authored
1 year ago
by
mateusz-winiarczyk
Browse files
Options
Downloads
Patches
Plain Diff
docs(overlays): fix overlays description
parent
6c76c7f1
No related branches found
No related tags found
1 merge request
!152
feat(plugins): data overlays (MIN-222)
Pipeline
#87369
passed
1 year ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/plugins/overlays.md
+5
-2
5 additions, 2 deletions
docs/plugins/overlays.md
with
5 additions
and
2 deletions
docs/plugins/overlays.md
+
5
−
2
View file @
154747a2
...
...
@@ -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
.
get
Visible
DataOverlays
();
```
#### 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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment