vue-plugin-render-freeze

1.0.0 • Public • Published

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.renderFreezeBegin(async () => {
    ... long time operations
});

or

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

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i vue-plugin-render-freeze

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

3.74 kB

Total Files

5

Last publish

Collaborators

  • zhennann