feat(project): add methods for plugins to retrieve data about project
Compare changes
Files
13
docs/plugins/project.md
0 → 100644
+ 48
− 0
Get Project ID:
To get project ID, plugins can use the getProjectId
method defined in window.minerva.project.data
object.
window.minerva.project.data.getProjectId();
Get Project Name:
To get project name, plugins can use the getName
method defined in window.minerva.project.data
object.
window.minerva.project.data.getName();
Get Project Version:
To get project version, plugins can use the getVersion
method defined in window.minerva.project.data
object.
window.minerva.project.data.getVersion();
Get Disease:
To get disease identifier associated with the project, plugins can use the getDisease
method defined in window.minerva.project.data
object.
window.minerva.project.data.getDisease();
Get Organism:
To get organism identifier associated with the project, plugins can use the getOrganism
method defined in window.minerva.project.data
object.
window.minerva.project.data.getOrganism();
Closes MIN-220