We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
When I create a component using v-component directive together with v-if the ready hook is not called.
v-component
v-if
ready
var ready = spy(); var parent = new Vue({ template: '<user-profile v-if="showProfile"></user-profile>', data: { showProfile: false }, components: { 'user-profile': { template: 'User Profile...', ready: ready } } }) parent.$mount() parent.$appendTo(document.body) parent.showProfile = true; Vue.nextTick(function() { assert(ready.called); });
The text was updated successfully, but these errors were encountered:
fix #561 attach/detach/ready hooks for children in partial compile bl…
4339243
…ocks
No branches or pull requests
When I create a component using
v-component
directive together withv-if
theready
hook is not called.The text was updated successfully, but these errors were encountered: