1.3.0 • Published 4 years ago

ofa-iscroll-business v1.3.0

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

iscroll-business

iscroll for business
get start
  • install

npm i ofa-iscroll-business -S | yarn add ofa-iscroll-business -S

  • import and register

import iscroll from 'ofa-iscroll-business'; Vue.use(iscroll);

<!-- demo -->
<!-- ref="iscrollBusiness": get iscroll-probe instance, so you can absolute control -->
<!-- openPullDown: toggle pull down refresh -->
<!-- refreshSize: refresh block height, necessary if openPullDown is true -->
<iscroll-business
    ref="iscrollBusiness"
    :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>
</iscroll-business>
1.3.0

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago