Constructor
new SpotfirePage(pageDescription)
Parameters:
Name | Type | Description |
---|---|---|
pageDescription
|
PageDescription ▼ | the title or page description |
title
|
String | the title of the page |
tileMode
|
String | the tile Mode that defines the layout of the page (Vertically|Horizontally) |
showWebPanel
|
Boolean |
Methods
addVisual(visualTypeName, visualDescription)
Add a visual on the current page
Parameters:
Name | Type | Description |
---|---|---|
visualTypeName
|
string | the type name of the visual to be added |
visualDescription
|
Object | all the visual properties needed for the visual constructor |
getVisual(visualTypeName, visualDescription)
Get the existing visual with the same type and title
Parameters:
Name | Type | Description |
---|---|---|
visualTypeName
|
string | the type name of the visual to be added |
visualDescription
|
Object | all the visual properties. May have general.title to identified the already added views |