mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-22 21:48:42 +08:00
refactor(all): additional tslint rules
This commit is contained in:
@ -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>
|
||||
|
@ -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. |
|
||||
|
||||
|
||||
----------------------------------------------
|
||||
|
Reference in New Issue
Block a user