refactor(all): additional tslint rules

This commit is contained in:
Manu Mtz.-Almeida
2018-09-01 17:21:42 +02:00
parent ba2230510e
commit e7416435d8
42 changed files with 419 additions and 380 deletions

View File

@ -260,8 +260,10 @@ export class Picker implements OverlayInterface {
<div class={buttonWrapperClass(b)}>
<button
type="button"
ion-activable
onClick={() => this.buttonClick(b)}
class={buttonClass(b)}>
class={buttonClass(b)}
>
{b.text}
</button>
</div>
@ -270,7 +272,7 @@ export class Picker implements OverlayInterface {
<div class="picker-columns">
<div class="picker-above-highlight" />
{ this.columns.map(c => <ion-picker-column col={c} />) }
{this.columns.map(c => <ion-picker-column col={c} />)}
<div class="picker-below-highlight" />
</div>
</div>

View File

@ -39,13 +39,13 @@ A Picker is a dialog that displays a row of buttons and columns underneath. It a
## Methods
| Method | Description |
| --------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `dismiss` | Dismiss the picker overlay after it has been presented. |
| `getColumn` | Returns the column the matches the specified name |
| `onDidDismiss` | Returns a promise that resolves when the picker did dismiss. It also accepts a callback that is called in the same circustances. |
| `onWillDismiss` | Returns a promise that resolves when the picker will dismiss. It also accepts a callback that is called in the same circustances. |
| `present` | Present the picker overlay after it has been created. |
| Method | Description |
| --------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| `dismiss` | Dismiss the picker overlay after it has been presented. |
| `getColumn` | Returns the column the matches the specified name |
| `onDidDismiss` | Returns a promise that resolves when the picker did dismiss. It also accepts a callback that is called in the same circustances. |
| `onWillDismiss` | Returns a promise that resolves when the picker will dismiss. It also accepts a callback that is called in the same circumstances. |
| `present` | Present the picker overlay after it has been created. |
----------------------------------------------