Skip to content

Commit 315f97d

Browse files
committed
docs(refresher): playground cleanup
1 parent c6f0735 commit 315f97d

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

static/usage/v8/refresher/pull-start-end-events/angular/example_component_ts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export class ExampleComponent {
5656
handlePullEnd(event: RefresherPullEndCustomEvent) {
5757
console.log('Pull ended with reason: "' + event.detail.reason + '"');
5858

59-
// Enable the checkboxes when the pull starts
59+
// Enable the checkboxes when the pull ends
6060
this.items.forEach((item) => {
6161
item.disabled = false;
6262
});

static/usage/v8/refresher/pull-start-end-events/react.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ function Example() {
7474
<p>Pull this content down to trigger the refresh.</p>
7575

7676
<IonList lines="full">
77-
{items.map((item: TodoItem, i: number) => (
77+
{items.map((item: TodoItem) => (
7878
<IonItem key={item.label}>
7979
<IonCheckbox slot="start" checked={item.checked} disabled={item.disabled}></IonCheckbox>
8080
<IonLabel>{item.label}</IonLabel>

static/usage/v8/refresher/pull-start-end-events/vue.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
import { ref } from 'vue';
3333
import {
3434
IonCheckbox,
35+
IonContent,
3536
IonHeader,
3637
IonItem,
3738
IonLabel,
@@ -64,7 +65,7 @@
6465
const handlePullEnd = (event: RefresherPullEndCustomEvent) => {
6566
console.log('Pull ended with reason: "' + event.detail.reason + '"');
6667
67-
// Enable the checkboxes when the pull starts
68+
// Enable the checkboxes when the pull ends
6869
items.value.forEach((item) => {
6970
item.disabled = false;
7071
});

0 commit comments

Comments
 (0)