docs(list): update the documentation for the inset property

This commit is contained in:
Brandy Carney
2018-07-09 17:43:14 -04:00
parent ff0fe9cee7
commit 6c12434f80
2 changed files with 5 additions and 5 deletions

View File

@ -3463,11 +3463,11 @@ declare global {
*/ */
'closeSlidingItems': () => boolean; '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; '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; 'inset': boolean;
/** /**
@ -3501,7 +3501,7 @@ declare global {
namespace JSXElements { namespace JSXElements {
export interface IonListAttributes extends HTMLAttributes { 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; 'inset'?: boolean;
/** /**

View File

@ -20,12 +20,12 @@ export class List {
@Prop() lines?: 'full' | 'inset' | 'none'; @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; @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() @Method()
getOpenItem() { getOpenItem() {