manifest.js File Properties
The manifest.js file is a JavaScript file that controls the properties of the ViewProjectVersionQuickHelp static resource.
| Name | Description | |
|---|---|---|
| window.$QuickHelp | A JavaScript property assigned to the window object. This property holds an array of objects with each object representing a content page in the Quick Introduction. | |
| pageId | A unique string associated with each page in the Compare Versions Quick Introduction. For example: pageId: 'card-0' | |
| pageContent | Defines the content that displays on each page. Content types include: | |
|
heading - Indicates the associated content property displays as a heading. For example: type: 'heading', content: 'Selecting Versions' |
||
|
text - Indicates the associated content property displays as a text in the body of the page. For example: type: 'text', content: Versions display in chronological order. Once you select from the first list, the second list offers only subsequent versions.' |
||
|
image - Indicates the associated content property displays as an image on the page. For example: type: 'image', content: 'img/QI-1-Iridium-Selecting.png' |
Example
window.$QuickHelp = [
{
pageId: 'card-0',
pageContent: [{
type: 'heading',
content: 'Selecting Versions'
}, {
type: 'text',
content: 'Versions display in chronological order. Once you select from
the first list, the second list offers only subsequent versions.'
}, {
type: 'image',
content: 'img/QI-1-Iridium-Selecting.png'
}]
}, {
pageId: 'card-1',
pageContent: [{
type: 'heading',
content: 'Headline Cards'
}, {
type: 'text',
content: 'Content from the first selection appears on the
left of the divider. The compared selection displays on the right.'
}, {
type: 'image',
content: 'img/QI-2-Iridium-Card.png'
}]
}, {
pageId: 'card-2',
pageContent: [{
type: 'heading',
content: 'Detail Views'
}, {
type: 'text',
content: 'Your first selection displays in the left column.
Changes display in the right column.'
}, {
type: 'image',
content: 'img/QI-3-Iridium-Details.png'
}]
}];
SECTIONS