Close Docs

ListView (<disco-list-view>)

A scrollable list with support for item click events, selection modes, and built-in styling for list items.

DiscoListView

Usage

<disco-list-view item-click-enabled>
    <disco-list-item>
        <span>Item 1</span>
    </disco-list-item>
    <disco-list-item>
        <span>Item 2</span>
    </disco-list-item>
</disco-list-view>

API

Properties

Events

Attributes

When group-style="auto", group order is always: #, A..Z, &.

Child Components

<disco-list-item>

A simple container for styling list items.