1.0.1 • Published 6 years ago

ionic-rotate-fresher v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

Install

npm install ionic-rotate-fresher

Using ionic2-rotate-fresher in an Ionic 2 app

/*------------------------------------------------*/
import { RrotatefresherModule } from 'ionic-rotate-fresher';
/*------------------------------------------------*/

@NgModule({
  declarations: [
    MyApp,
    AboutPage,
    ContactPage,
    HomePage,
    TabsPage
  ],
  imports: [
    BrowserModule,
    IonicModule.forRoot(MyApp),
    RrotatefresherModule
  ],
  bootstrap: [IonicApp],
  entryComponents: [
    MyApp,
    AboutPage,
    ContactPage,
    HomePage,
    TabsPage
  ],
  providers: [
    StatusBar,
    SplashScreen,
    {provide: ErrorHandler, useClass: IonicErrorHandler}
  ]
})
export class AppModule {}


/*QQ442970923(如发现Bug请与我联系,将进行改进)*/

/*---------------------HTML---------------------*/

<ion-header>
  <ion-navbar>
    <ion-title>Home</ion-title>
  </ion-navbar>
</ion-header>

<ion-content padding>

   <rotate-fresher (Compelte)="Compelte($event)"></rotate-fresher>

</ion-content>

输入属性

名称类型默认描述
SvgStylestringsunny下拉刷新的样式'recycle' 'roll' 'chrome' 'sunny'

ionic-rotate-fresher-event

key类型描述
event.colse()event结束下拉刷新
1.0.1

6 years ago

1.0.0

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago