mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-23 05:58:26 +08:00
docs(item): update to include lines prop
This commit is contained in:
8
core/src/components.d.ts
vendored
8
core/src/components.d.ts
vendored
@ -1084,7 +1084,7 @@ declare global {
|
||||
*/
|
||||
'href': string;
|
||||
/**
|
||||
* How the bottom border should be displayed on the item.
|
||||
* How the bottom border should be displayed on the item. Available options: `"full"`, `"inset"`, `"none"`.
|
||||
*/
|
||||
'lines': 'full' | 'inset' | 'none';
|
||||
/**
|
||||
@ -2182,7 +2182,7 @@ declare global {
|
||||
|
||||
interface IonSkeletonText {
|
||||
/**
|
||||
* Width for the element to render at. Default is 100%
|
||||
* The width of the element. Defaults to: `"100%"`.
|
||||
*/
|
||||
'width': string;
|
||||
}
|
||||
@ -4706,7 +4706,7 @@ declare global {
|
||||
*/
|
||||
'href'?: string;
|
||||
/**
|
||||
* How the bottom border should be displayed on the item.
|
||||
* How the bottom border should be displayed on the item. Available options: `"full"`, `"inset"`, `"none"`.
|
||||
*/
|
||||
'lines'?: 'full' | 'inset' | 'none';
|
||||
/**
|
||||
@ -5802,7 +5802,7 @@ declare global {
|
||||
|
||||
export interface IonSkeletonTextAttributes extends HTMLAttributes {
|
||||
/**
|
||||
* Width for the element to render at. Default is 100%
|
||||
* The width of the element. Defaults to: `"100%"`.
|
||||
*/
|
||||
'width'?: string;
|
||||
}
|
||||
|
@ -60,6 +60,7 @@ export class Item {
|
||||
|
||||
/**
|
||||
* How the bottom border should be displayed on the item.
|
||||
* Available options: `"full"`, `"inset"`, `"none"`.
|
||||
*/
|
||||
@Prop() lines?: 'full' | 'inset' | 'none';
|
||||
|
||||
@ -145,6 +146,8 @@ export class Item {
|
||||
const attrs = TagType === 'button' ? { type } : { href };
|
||||
const showDetail = detail != null ? detail : mode === 'ios' && clickable;
|
||||
|
||||
console.log('item state', state);
|
||||
|
||||
return (
|
||||
<TagType
|
||||
{...attrs}
|
||||
|
@ -96,6 +96,7 @@ If this property is set, an anchor tag will be rendered.
|
||||
string
|
||||
|
||||
How the bottom border should be displayed on the item.
|
||||
Available options: `"full"`, `"inset"`, `"none"`.
|
||||
|
||||
|
||||
#### mode
|
||||
@ -181,6 +182,7 @@ If this property is set, an anchor tag will be rendered.
|
||||
string
|
||||
|
||||
How the bottom border should be displayed on the item.
|
||||
Available options: `"full"`, `"inset"`, `"none"`.
|
||||
|
||||
|
||||
#### mode
|
||||
|
Reference in New Issue
Block a user