RailPanelΒΆ
-
/libs/granite/ui/components/coral/foundation/panel/railpanel
The panel of the rail.
It implements foundation-toggleable vocabulary.
Since the panel is usually hidden by default, app developer is encouraged to leverage situation to fetch the content of the panel lazily, especially then the content itself is quite expensive to prepare.
It has the following content structure:
-
granite:PanelRailPanel
- granite:commonAttrs
- granite:renderCondition
- granite:container
- srcstringel
The URL to fetch the content of the panel.
If this property is specified then the content of the panel is loaded lazily instead. Otherwise the content is loaded normally as per container convention.
- activeboolean
true
to activate the panel initially;false
otherwise.
Example:
+ mypanel - sling:resourceType = "granite/ui/components/coral/foundation/panel" + header - sling:resourceType = "granite/ui/components/coral/foundation/container" + body - sling:resourceType = "granite/ui/components/coral/foundation/container" + rail - sling:resourceType = "granite/ui/components/coral/foundation/container" + parentConfig - active = true + items + panel1 - sling:resourceType = "granite/ui/components/coral/foundation/panel/railpanel" - active = true + panel2 - sling:resourceType = "granite/ui/components/coral/foundation/panel/railpanel" + footer - sling:resourceType = "granite/ui/components/coral/foundation/container"
-
granite:PanelRailPanel