0.1.4 • Published 6 years ago

iwe7-swiper v0.1.4

Weekly downloads
40
License
-
Repository
-
Last release
6 years ago

iwe7 swiper

组件说明类型使用
swiper-outlet容器Componentelement
swiperItemslide模板Directiveng-template
swiperDotdot模板Directiveng-template
swiper-outlet
  • inputs
输入默认类型
hasDottrueboolean
looptrueboolean
clicktrueboolean
autoPlaytrueboolean
scrollXtrueboolean
scrollYfalseboolean
interval4000number
threshold0.3number
speed400number
list[]array
<swiper-outlet [list]="list"></swiper-outlet>

<button mat-flat-button (click)="showDialogX()">showDialogX</button>
<button mat-flat-button (click)="showDialogY()">showDialogY</button>

<ng-template #tplX>
  <swiper-outlet [list]="list"></swiper-outlet>
</ng-template>

<ng-template #tplY>
  <swiper-outlet scrollY [list]="list"></swiper-outlet>
</ng-template>
list: any[] = [{
    image: 'http://y.gtimg.cn/music/photo_new/T003R720x288M000004ckGfg3zaho0.jpg'
}, {
    image: 'http://y.gtimg.cn/music/photo_new/T003R720x288M000004ckGfg3zaho0.jpg'
}];

showDialogX() {
    this.getCyc('ngAfterViewInit').subscribe(res => {
        const dialogRef = this.dialog.open(this.tplX);
    });
}
showDialogY() {
    this.getCyc('ngAfterViewInit').subscribe(res => {
        const dialogRef = this.dialog.open(this.tplY);
    });
}
组件名说明地址
iwe7-flexflex布局组件https://github.com/iwe7/iwe7-flex
iwe7-map百度地图组件https://github.com/iwe7/iwe7-map
iwe7-imIM组件https://github.com/iwe7/iwe7-im
iwe7-icssrxjs操作csshttps://github.com/iwe7/iwe7-icss
iwe7-core核心库https://github.com/iwe7/iwe7-core
iwe7-script加载css和jshttps://github.com/iwe7/iwe7-script
iwe7-util工具https://github.com/iwe7/iwe7-util
iwe7-square正方形组件https://github.com/iwe7/iwe7-square
iwe7-better-scroll滑动组件https://github.com/iwe7/iwe7-better-scroll
iwe7-web-storage缓存相关https://github.com/iwe7/iwe7-web-storage
iwe7-urlapi链接便签https://github.com/iwe7/iwe7-url
iwe7-video视频播放https://github.com/iwe7/iwe7-video
iwe7-swiper轮播组件https://github.com/iwe7/iwe7-swiper
0.1.4

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.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