How to use the onDeactivated function from vue
Find comprehensive JavaScript vue.onDeactivated code examples handpicked from public code repositorys.
GitHub: csii-cli/vue-template
114 115 116 117 118 119 120 121 122 123
vue_1.onActivated(function () { if (!mounting) { initWrapper() } }) vue_1.onDeactivated(function () { var _a if (!modelBind) { cache = vueEditor.getContent() }
0
0
1
1840 1841 1842 1843 1844 1845 1846 1847 1848 1849
function registerGuard(record, name, guard) { const removeFromList = () => { record[name].delete(guard); }; vue.onUnmounted(removeFromList); vue.onDeactivated(removeFromList); vue.onActivated(() => { record[name].add(guard); }); record[name].add(guard);
0
0
1
+ 11 other calls in file
vue.createElementBlock is the most popular function in vue (2388 examples)