npm library for vue lazy drawing
npm i thunder-girl
Loads an array every specified number of milliseconds
thunderGirl.load(destinationArr, sourceArr, slice, msec)
accumulate load
thunderGirl.accLoad(destinationArr, sourceArr, slice, msec)
Name | description |
---|---|
destinationArr | destination array. array type |
sourceArr | source array. array type |
slice | number of arrays to divide. integer type |
msec | sleep msec. integer type |
methods:{
load: async function(){
await thunderGirl.load(this.dispTable, this.sourceTable, 5, 50)
console.log("complete reload")
},
accLoad: async function(){
await thunderGirl.accLoad(this.dispTable, this.sourceTable, 5, 50)
console.log("complete accLoad")
}
}
https://github.com/Kashiwara0205/thunderGirl-demo
The libray is available as open source under the terms of the MIT License.