mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
docs(list): update the documentation for the inset property
This commit is contained in:
6
core/src/components.d.ts
vendored
6
core/src/components.d.ts
vendored
@ -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;
|
||||
/**
|
||||
|
@ -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() {
|
||||
|
Reference in New Issue
Block a user