1.0.6 • Published 5 years ago

thunder-girl v1.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

thunderGirl

Build Status npm version

npm library for vue lazy drawing

Getting started

npm i thunder-girl

Usage

Loads an array every specified number of milliseconds

thunderGirl.load(destinationArr, sourceArr, slice, msec)

accumulate load

thunderGirl.accLoad(destinationArr, sourceArr, slice, msec)

args

Namedescription
destinationArrdestination array. array type
sourceArrsource array. array type
slicenumber of arrays to divide. integer type
msecsleep msec. integer type

vue example code

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")
  }
}

vue example code (ts version)

async load(){
  await thunderGirl.load(this.dispTable, this.sourceTable, 5, 50)
  console.log("complete reload")
}

async accLoad(){
  await thunderGirl.accLoad(this.dispTable, this.sourceTable, 5, 50)
  console.log("complete accLoad")
}

Demo

https://github.com/Kashiwara0205/thunderGirl-demo

License

The libray is available as open source under the terms of the MIT License.

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.3

5 years ago

1.0.1

5 years ago