-
Notifications
You must be signed in to change notification settings - Fork 218
/
Copy pathcockpit-manifest.html
45 lines (45 loc) · 2.24 KB
/
cockpit-manifest.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
layout: guide
---
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>cockpit.js: Manifests</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="Cockpit Guide">
<link rel="up" href="api-base1.html" title="API: base1">
<link rel="prev" href="cockpit-cache.html" title="cockpit.js: Object Cache">
<link rel="next" href="api-shell.html" title="API: shell">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
<td><a accesskey="p" href="cockpit-cache.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="api-base1.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Cockpit Guide</th>
<td><a accesskey="n" href="api-shell.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="cockpit-manifest"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>cockpit.js: Manifests</h2>
<p>cockpit.js: Manifests — Manifest info</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsection">
<a name="cockpit-manifest-loading"></a><h2>Loading Manifests</h2>
<p>For a convenient access to all page manifests, include
<code class="code"><script src="../manifests.js"></script></code> into your page to register
the manifests at the <code class="code">cockpit.manifests</code> global variable.</p>
<p>You can also load <code class="code">../manifests.json</code> directly in your page, with
<a class="ulink" href="https://developer.mozilla.org/en-US/docs/Web/API/Window/fetch" target="_top"><code class="code">fetch()</code></a>.
</p>
</div>
</div>
<div class="footer"><hr></div>
</body>
</html>