Ubuntu.Components.ListItems SingleValue

A list item displaying a single value

Import Statement: import Ubuntu.Components.ListItems 1.3
Inherits: Base


Detailed Description

Note: The component is deprecated. Use :ref:`ListItem <sdk_ubuntu_components_listitem>` component instead.


import Ubuntu.Components.ListItems 1.3 as ListItem
Column {
    ListItem.SingleValue {
        text: "Label"
        value: "Status"
        onClicked: selected = !selected
    ListItem.SingleValue {
        text: "Label"
        iconName: "compose"
        value: "Parameter"
        progression: true
        onClicked: print("clicked")

Property Documentation

value : string

The values that will be shown next to the label text