ExpandablesColumn QML Type
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 Lomiri.Components.ListItems 1.3 |
Properties
- children : QtObject
- expandedItem : Item
Methods
- collapse()
- expandItem(item)
Detailed Description
Examples:
import Lomiri.Components 1.3 import Lomiri.Components.ListItems 1.3 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; } } } }
Property Documentation
Method Documentation
Collapse the currently expanded item. If there isn't any item expanded, this function does nothing.