chore(): fix lint

This commit is contained in:
Manu Mtz.-Almeida
2018-08-30 19:08:57 +02:00
parent 771c5173c2
commit f4807d1198
3 changed files with 21 additions and 4 deletions

View File

@ -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.
*/

View File

@ -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` | |
----------------------------------------------

View File

@ -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 {