Debian Codegraph @

doc/modules/guide/pages/cockpit-manifest.adoc

raw
1 = cockpit.js: Manifests
2
3 [[cockpit-manifest-loading]]
4 == Loading Manifests
5
6 For a convenient access to all page manifests, include
7 `+<script src="../manifests.js"></script>+` into your page to register
8 the manifests at the `+cockpit.manifests+` global variable.
9
10 You can also load `+../manifests.json+` directly in your page, with
11 https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch[`+fetch()+`].