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? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When the prop has the type of Function, the default is treated as a value instead of factory: https://github.com/vuejs/docs-next/blob/master/src/guide/component-props.md#prop-validation
default
// Type function, the default will be the default function propG: { type: Function, default: function () { return 'Default function' }, },
PR with the change vuejs/core#1349
The text was updated successfully, but these errors were encountered:
Closing as related PR was merged 🎉
Sorry, something went wrong.
docs: review lifecycle.md (vuejs#113)
f77f0d0
No branches or pull requests
When the prop has the type of Function, the
default
is treated as a value instead of factory:https://github.com/vuejs/docs-next/blob/master/src/guide/component-props.md#prop-validation
PR with the change vuejs/core#1349
The text was updated successfully, but these errors were encountered: