Alternatively pull down or pull up or both using Vue2.0
In this post we will show you Alternatively pull down or pull up or both using Vue2.0, hear for Alternatively pull down or pull up or both using Vue2.0 we will give you demo and example for implement.
Hear is Git hub like for Download, Demo and for information(Read More), it will help you into development and implement for Alternatively pull down or pull up or both using Vue2.0. This link of git will give you document, instruction, installation and other information.
Alternatively pull down or pull up or both using Vue2.0
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build <pull-to-refresh @on-pullup='onPullup' @on-pulldown='onPulldown'> <ul> <li :key="index" v-for="(item, index) in items"> # item {{ index }} </li> </ul> </pull-to-refresh> onPullup(finshCallback) { setTimeout(()=>{ this.items=this.items.concat([6,6,6,6,6,6,6,6,6,6,6]) finshCallback();//finish the refreshing state },3500); }
API for Alternatively pull down or pull up or both using Vue2.0
Name | Type | Default | Description |
---|---|---|---|
disable-pulldown | Boolean | false | set true to disable pulldown function |
on-pullup | Function | undefined | the pullup listener with a finshCallback param to tell it to finsh refreshing state |
disable-pullup | Boolean | false | set true to disable pullup function |
on-pulldown | Function | undefined | the pulldown listener with a finshCallback param to tell it to finsh refreshing state |
YOU ALSO LIKE RELATED POSTS
Vuejs build setup from scratch with webpack | http://www.onlinecode.org/vue-js-build-set-scratch-webpack-vue-loader-hot-reload/ |
ckeditor vuejs 2-how to add ckeditor vuejs 2 demo and example | http://www.onlinecode.org/ckeditor-vuejs-2/ |
vuejs vuex with example | http://www.onlinecode.org/vuejs-vuex-example/ |
BG MixMaster CSS Background Grid – vuejs | http://www.onlinecode.org/bg-mixmaster-css-background-grid-vuejs/ |
Navigation Menu using vuejs | http://www.onlinecode.org/navigation-menu-using-vuejs/ |
Hope this code and post will helped you for implement Alternatively pull down or pull up or both using Vue2.0. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve onlincode. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs onlincode.org