1.0.0 • Published 5 months ago
vue-plugin-render-freeze v1.0.0
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
1.0.0
5 months ago