mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 10:01:59 +08:00
chore(): fix lint
This commit is contained in:
11
core/src/components.d.ts
vendored
11
core/src/components.d.ts
vendored
@ -2195,6 +2195,7 @@ export namespace Components {
|
||||
}
|
||||
|
||||
interface IonList {
|
||||
'closeSlidingItems': () => Promise<boolean>;
|
||||
/**
|
||||
* If true, the list will have margin around it and rounded corners. Defaults to `false`.
|
||||
*/
|
||||
@ -2203,6 +2204,10 @@ export namespace Components {
|
||||
* How the bottom border should be displayed on all items. Available options: `"full"`, `"inset"`, `"none"`.
|
||||
*/
|
||||
'lines': 'full' | 'inset' | 'none';
|
||||
/**
|
||||
* The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`.
|
||||
*/
|
||||
'mode': Mode;
|
||||
}
|
||||
interface IonListAttributes extends StencilHTMLAttributes {
|
||||
/**
|
||||
@ -2213,6 +2218,10 @@ export namespace Components {
|
||||
* How the bottom border should be displayed on all items. Available options: `"full"`, `"inset"`, `"none"`.
|
||||
*/
|
||||
'lines'?: 'full' | 'inset' | 'none';
|
||||
/**
|
||||
* The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`.
|
||||
*/
|
||||
'mode'?: Mode;
|
||||
}
|
||||
|
||||
interface IonLoadingController {
|
||||
@ -4158,7 +4167,7 @@ export namespace Components {
|
||||
/**
|
||||
* Get whether or not the current slide is the last slide.
|
||||
*/
|
||||
'isEnd': () => Promise<ConstrainBoolean>;
|
||||
'isEnd': () => Promise<boolean>;
|
||||
/**
|
||||
* Get the total number of slides.
|
||||
*/
|
||||
|
@ -15,6 +15,14 @@ Lists support several interactions including swiping items to reveal options, dr
|
||||
| -------- | --------- | --------------------------------------------------------------------------------------------------------- | ----------------------------- |
|
||||
| `inset` | `inset` | If true, the list will have margin around it and rounded corners. Defaults to `false`. | `boolean` |
|
||||
| `lines` | `lines` | How the bottom border should be displayed on all items. Available options: `"full"`, `"inset"`, `"none"`. | `"full"`, `"inset"`, `"none"` |
|
||||
| `mode` | `mode` | The mode determines which platform styles to use. Possible values are: `"ios"` or `"md"`. | `Mode` |
|
||||
|
||||
|
||||
## Methods
|
||||
|
||||
| Method | Description |
|
||||
| ------------------- | ----------- |
|
||||
| `closeSlidingItems` | |
|
||||
|
||||
|
||||
----------------------------------------------
|
||||
|
@ -89,14 +89,14 @@
|
||||
position: relative;
|
||||
top: -20px;
|
||||
|
||||
background: var(--pin-background);
|
||||
color: var(--pin-color);
|
||||
|
||||
min-width: 28px;
|
||||
height: 28px;
|
||||
|
||||
transition: transform 120ms ease, background 120ms ease;
|
||||
|
||||
background: var(--pin-background);
|
||||
color: var(--pin-color);
|
||||
|
||||
text-align: center;
|
||||
|
||||
&::before {
|
||||
|
Reference in New Issue
Block a user