thunder-girl
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

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

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

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.

Readme

Keywords

none

Package Sidebar

Install

npm i thunder-girl

Weekly Downloads

1

Version

1.0.6

License

MIT

Unpacked Size

9.51 kB

Total Files

7

Last publish

Collaborators

  • kashiwara