List Item

API reference

calcite-list-item
v1.0.0-beta.83

Properties

PropertyAttributeDescriptionTypeValues
descriptiondescription

An optional description for the list item. Displays below the label text.

stringA custom string
undefined
disableddisabled

When true, prevents user interaction.

booleanA boolean property should be present, or not
truefalse
labellabel

The label text of the list item. Displays above the description text.

stringA custom string
undefined
nonInteractivenon-interactive

When true, prevents the content of the list item from user interaction.

booleanA boolean property should be present, or not
truefalse

Methods

NameDescriptionSignatureReturns
setFocus

Sets focus on the component.

setFocus() => Promise<void>Promise<void>

Slots

NameDescription
default (unnamed)

A slot for adding `calcite-list-item` and `calcite-list-item-group` elements.

actions-end

A slot for adding actionable `calcite-action` elements after the content of the list item.

actions-start

A slot for adding actionable `calcite-action` elements before the content of the list item.

content-end

A slot for adding non-actionable elements after the label and description of the list item.

content-start

A slot for adding non-actionable elements before the label and description of the list item.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.