mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +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;
|
'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;
|
||||||
/**
|
/**
|
||||||
|
@ -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() {
|
||||||
|
Reference in New Issue
Block a user