diff --git a/core/src/components.d.ts b/core/src/components.d.ts index 9c31e3c918..fc1e54ef6f 100644 --- a/core/src/components.d.ts +++ b/core/src/components.d.ts @@ -3463,11 +3463,11 @@ declare global { */ 'closeSlidingItems': () => boolean; /** - * Get the [Item Sliding](../../item-sliding/ItemSliding) that is currently opene. + * Get the [Item Sliding](../../item-sliding/ItemSliding) that is currently open. */ 'getOpenItem': () => HTMLIonItemSlidingElement | undefined; /** - * How the bottom border should be displayed on all items. + * If true, the list will have margin around it and rounded corners. Defaults to `"false"`. */ 'inset': boolean; /** @@ -3501,7 +3501,7 @@ declare global { namespace JSXElements { export interface IonListAttributes extends HTMLAttributes { /** - * How the bottom border should be displayed on all items. + * If true, the list will have margin around it and rounded corners. Defaults to `"false"`. */ 'inset'?: boolean; /** diff --git a/core/src/components/list/list.tsx b/core/src/components/list/list.tsx index 0045998dbb..c54b423703 100644 --- a/core/src/components/list/list.tsx +++ b/core/src/components/list/list.tsx @@ -20,12 +20,12 @@ export class List { @Prop() lines?: 'full' | 'inset' | 'none'; /** - * How the bottom border should be displayed on all items. + * If true, the list will have margin around it and rounded corners. Defaults to `"false"`. */ @Prop() inset = false; /** - * Get the [Item Sliding](../../item-sliding/ItemSliding) that is currently opene. + * Get the [Item Sliding](../../item-sliding/ItemSliding) that is currently open. */ @Method() getOpenItem() {