Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ yarn-debug.log*
yarn-error.log*

static/**/node_modules/
.idea
19 changes: 19 additions & 0 deletions docs/api/refresher.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,14 @@ interface RefresherEventDetail {
}
```

### RefresherPullEndEventDetail

```typescript
interface RefresherPullEndEventDetail {
reason: 'complete' | 'cancel';
}
```

### RefresherCustomEvent

While not required, this interface can be used in place of the `CustomEvent` interface for stronger typing with Ionic events emitted from this component.
Expand All @@ -124,6 +132,17 @@ interface RefresherCustomEvent extends CustomEvent {
}
```

### RefresherPullEndCustomEvent

While not required, this interface can be used in place of the `CustomEvent` interface for stronger typing with the `ionPullEnd` event.

```typescript
interface RefresherPullEndCustomEvent extends CustomEvent {
detail: RefresherPullEndEventDetail;
target: HTMLIonRefresherElement;
}
```

## Properties
<Props />

Expand Down