angular2 typescript
刘_小飞
这个作者很懒,什么都没留下…
展开
-
js手机通讯录
ionic页面·············································································· 联系人 class="searchbar" placeholder="搜索..." [(ngModel)]="myInput" (ionInp原创 2017-02-16 10:23:15 · 7147 阅读 · 0 评论 -
angualr2中的管道
第一步:我们先创建一个管道文件 以xxx.pipe.ts这种格式结尾 import { Pipe, PipeTransform } from '@angular/core'; //我们需要导入的配置 @Pipe({ name: 'test' //标明为管道的名字 }) export class Test implements PipeTransform{ // P原创 2017-03-06 18:03:17 · 476 阅读 · 0 评论 -
ionic2下拉刷新和上拉加载
ionic2下拉刷新方法 html: ion-content> ion-refresher (ionRefresh)="doRefresh($event)"> ion-refresher-content pullingIcon="arrow-dropdown" pullingText="Pull to refresh" ref原创 2017-04-11 15:25:23 · 678 阅读 · 2 评论