ionic

<ion-slide-box on-slide-changed="slideHasChanged($index)">   
    <ion-slide>    
        <div class="box blue">
        <h1>BLUE</h1>
    </div>   
    </ion-slide>   
    <ion-slide>     
        <div class="box yellow">
        <h1>YELLOW</h1>
    </div>   
    </ion-slide>   
    <ion-slide>     
        <div class="box pink">
        <h1>PINK</h1>
        </div>   
    </ion-slide>
</ion-slide-box>

delegate-handle    string

does-continue    boolean

(optional)

auto-play   boolean

(optional)

slide-interval    number

(optional)

show-pager    boolean

(optional)

pager-click    expression

(optional)

on-slide-changed    expression

(optional)

active-slide    expression

(optional)


PS:

<ion-content class="bgcolor-eee" has-bouncing="false">

has-bouncing="false" 禁止滑块滑动时,上下滑动

参考文档:

http://ionicframework.com/docs/api/directive/ionSlideBox/

你可能感兴趣的:(ionic )