1.0.1 • Published 6 years ago

iscroll-business v1.0.1

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

iscroll-business

iscroll for business
<!-- demo -->
<!-- ref="smoothScroll": get iscroll-probe instance, so you can absolute control -->
<!-- openPullDown: toggle pull down refresh -->
<!-- refreshSize: refresh block height, necessary if openPullDown is true -->
<smooth-scroll
    ref="smoothScroll"
    :openPullDown="true"
    :refreshSize="40"
    @onPullDown="onPullDown"
    @onPullUp="onPullUp"
>
    <template v-slot:refresh>
        <div>pull down action: refresh</div>
    </template>
    <template v-slot:list>
        <div
            class="item"
            v-for="(list, index) in lists"
            :key="index"
        >
            {{ index }}
        </div>
    </template>
    <template v-slot:loading>
        <div>pull up action: loading</div>
    </template>
    <template v-slot:btmBlock>
        <div>this block for fixed bottom bar or other fixed block</div>
    </template>
</smooth-scroll>
1.0.1

6 years ago

1.0.1-alpha.1

6 years ago

1.0.1-alpha.0

6 years ago