Skip to content

zhennann/vue-plugin-render-freeze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-plugin-render-freeze

Installation

npm install vue-plugin-render-freeze

Usage

import VuePluginRenderFreeze from "vue-plugin-render-freeze";

// install
Vue.use(VuePluginRenderFreeze);

You can then use the vue component:

await this.renderFreezeScope(async () => {
    ... long time operations
});

or

try {
    this.renderFreeze(true);
    ... long time operations
} finally {
    this.renderFreeze(false);
}

License

MIT

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published