From 6c12434f8001d9736dacd98c592f655c27efaa33 Mon Sep 17 00:00:00 2001 From: Brandy Carney Date: Mon, 9 Jul 2018 17:43:14 -0400 Subject: [PATCH] docs(list): update the documentation for the inset property --- core/src/components.d.ts | 6 +++--- core/src/components/list/list.tsx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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() {