File tree Expand file tree Collapse file tree
static/usage/v8/refresher/pull-start-end-events Expand file tree Collapse file tree Original file line number Diff line number Diff 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 });
Original file line number Diff line number Diff 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 >
Original file line number Diff line number Diff line change 3232 import { ref } from ' vue' ;
3333 import {
3434 IonCheckbox ,
35+ IonContent ,
3536 IonHeader ,
3637 IonItem ,
3738 IonLabel ,
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 });
You can’t perform that action at this time.
0 commit comments