- Copyright:
- Copyright (C) 2005-2020 Alfresco Software Limited
- License:
- GNU Lesser General Public License, see: Open Source Licensing
- Source:
Example
{
name: "alfresco/layout/SimplePanel",
config: {
height: "100px",
width: "100px",
handleOverflow: true,
widgets: [
{
name: "alfresco/logo/Logo"
}
]
}
}
Extends
Mixes In
- external:dojo/_TemplatedMixin
- module:alfresco/core/Core
- module:alfresco/core/CoreWidgetProcessing
Members
-
additionalStyles :object
-
Any additional style rules, as a map of style attributes to values
Type:
- object
- Since:
- 1.0.46
- Default Value:
- null
- Source:
-
cssRequirements :object[]
-
An array of the CSS files to use with this widget.
Type:
- object[]
- Since:
- 1.0.46
- Default Value:
- [{cssFile:"./css/SimplePanel.css"}]
- Source:
-
handleOverflow :boolean
-
Controls whether or not scroll bars will be displayed as the content of the panel grows beyond its dimensions. Defaults to true, if the widgets within the panel manage their own overflow then this should be set to false.
Type:
- boolean
- Default Value:
- true
- Source:
-
height :string
-
The height of the panel.
Type:
- string
- Default Value:
- null
- Source:
-
templateString :string
-
The HTML template to use for the widget.
Type:
- string
- Source:
-
width :string
-
The width of the panel.
Type:
- string
- Default Value:
- null
- Source:
Methods
-
postCreate()
-
Processes the widgets into the content node.
- Source: