ExpandablesColumn
A column to be used together with the Expandable item. This lays out its content just like a regular Column inside a Flickable but when used together with items of type Expandable it provides additional features like automatically positioning the expanding item when it expands and collapsing it again when the user taps outside of it. More...
Import Statement: | import Ubuntu.Components.ListItems 1.0 |
Inherits: |
Properties
- children : QtObject
- expandedItem : Item (preliminary)
Methods
- collapse() (preliminary)
- expandItem(item) (preliminary)
Detailed Description
Examples:
import Ubuntu.Components 1.1 import Ubuntu.Components.ListItems 1.0 as ListItem ListItem.ExpandablesColumn { anchors { left: parent.left; right: parent.right } height: units.gu(24) Repeater { model: 8 ListItem.Expandable { expandedHeight: units.gu(30) onClicked: { expanded = true; } } } }
This component is under heavy development.
Property Documentation
defaultchildren : QtObject |
Reparent any content to inside the Column.
read-onlyexpandedItem : Item |
This QML property is under development and is subject to change.
Points to the currently expanded item. Null if no item is expanded.
Method Documentation
This QML method is under development and is subject to change.
Collapse the currently expanded item. If there isn't any item expanded, this function does nothing.
This QML method is under development and is subject to change.
Expand the given item. The item must be a child of this ListView.