Skip to content

Commit

Permalink
docs(list): enhance displayMode prop
Browse files Browse the repository at this point in the history
  • Loading branch information
geospatialem committed Dec 12, 2024
1 parent 1a0bf3b commit 20b97cb
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion packages/calcite-components/src/components/list/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,16 @@ export class List
*/
messages = useT9n<typeof T9nStrings>({ blocking: true });

/** Specifies the nesting behavior. */
/**
* Specifies the nesting behavior of `calcite-list-item`s, where
*
* `"flat"` displays `calcite-list-item`s in a uniform list, and
*
* `"nested"` displays `calcite-list-item`s under their parent element.
*
* The parent component's behavior should follow throughout its child elements.
*
*/
@property({ reflect: true }) displayMode: ListDisplayMode = "flat";

/** Specifies the Unicode numeral system used by the component for localization. */
Expand Down

0 comments on commit 20b97cb

Please sign in to comment.