\u003C/p>","\u003Cp>\u003CChild :onClose=\"closeHandler\" />\u003C/p>","\u003Cp>\u003CChild v-slot:close=\"closeHandler\" />\u003C/p>","\u003Cp>\u003CChild close={{ closeHandler }} />\u003C/p>",{"id":57,"points":29,"estimatedTime":40,"label":17,"question":58,"options":59,"explanation":37,"answer":37,"difficulty":10},4453,"\u003Cp>What happens if a prop's default value is an object or array and is NOT returned from a factory function?\u003C/p>",[60,61,62,63],"\u003Cp>Nothing, it works fine.\u003C/p>","\u003Cp>The prop will not be reactive.\u003C/p>","\u003Cp>Vue will issue a warning because the same object/array instance will be shared across all component instances.\u003C/p>","\u003Cp>An error will be thrown.\u003C/p>",{"id":65,"points":29,"estimatedTime":40,"label":17,"question":66,"options":67,"explanation":37,"answer":37,"difficulty":10},4609,"\u003Cp>Which of the following is true regarding `provide` and `inject`?\u003C/p>",[68,69,70,71],"\u003Cp>They create a two-way binding between the ancestor and descendant.\u003C/p>","\u003Cp>By default, the bindings are not reactive.\u003C/p>","\u003Cp>They are reactive by default, but can be made non-reactive.\u003C/p>","\u003Cp>The reactivity depends on what is provided. If a reactive object is provided, the injection is reactive.\u003C/p>",{"id":73,"points":29,"estimatedTime":30,"label":17,"question":74,"options":75,"explanation":37,"answer":37,"difficulty":10},4761,"\u003Cp>When defining a prop with a `Boolean` type, how does Vue handle its value if the attribute is present but has no value (e.g., `\u003CMyComponent disabled />`)?\u003C/p>",[76,77,78,63],"\u003Cp>The prop value will be `undefined`.\u003C/p>","\u003Cp>The prop value will be an empty string `''`.\u003C/p>","\u003Cp>The prop value will be `true`.\u003C/p>",{"id":80,"points":29,"estimatedTime":49,"label":17,"question":81,"options":82,"explanation":37,"answer":37,"difficulty":10},4897,"\u003Cp>How do you define a `v-model` on a component that works with a property other than `modelValue`?\u003C/p>",[83,84,85,86],"\u003Cp>v-model:customName=\"myValue\"\u003C/p>","\u003Cp>v-model.name(customName)=\"myValue\"\u003C/p>","\u003Cp>v-model=\"myValue\" name=\"customName\"\u003C/p>","\u003Cp>This is not possible.\u003C/p>",{"id":88,"points":29,"estimatedTime":49,"label":17,"question":89,"options":90,"explanation":37,"answer":37,"difficulty":10},5022,"\u003Cp>When defining emits with an object, what does a `null` value for a key mean? e.g., `emits: { myEvent: null }`\u003C/p>",[91,92,93,94],"\u003Cp>The event has no payload.\u003C/p>","\u003Cp>It indicates the event has no validation.\u003C/p>","\u003Cp>The event is disabled.\u003C/p>","\u003Cp>This syntax is invalid.\u003C/p>",{"id":96,"points":29,"estimatedTime":49,"label":17,"question":97,"options":98,"explanation":37,"answer":37,"difficulty":10},5139,"\u003Cp>How can you pass all props of a parent component down to a child component?\u003C/p>",[99,100,101,102],"\u003Cp>\u003CChildComponent v-props=\"this.$props\" />\u003C/p>","\u003Cp>\u003CChildComponent v-bind=\"$props\" />\u003C/p>","\u003Cp>\u003CChildComponent {...props} />\u003C/p>","\u003Cp>\u003CChildComponent :props=\"$props\" />\u003C/p>",{"id":104,"points":29,"estimatedTime":30,"label":17,"question":105,"options":106,"explanation":37,"answer":37,"difficulty":10},5252,"\u003Cp>When using `v-bind` on the `\u003Ccomponent>` element, what is a valid value for the `is` attribute?\u003C/p>",[107,108,109,110],"\u003Cp>The name of a globally registered component (string).\u003C/p>","\u003Cp>An imported component definition object.\u003C/p>","\u003Cp>Both A and B are correct.\u003C/p>","\u003Cp>Only a component object is valid.\u003C/p>",["Reactive",112],{"$ssite-config":113},{"_priority":114,"description":118,"env":119,"name":120,"url":121},{"name":115,"env":116,"description":115,"url":117},-10,-15,-4,"Vuejs school is a quiz platform","production","vuejs-school","https://vuejs.school/",["Set"],["ShallowReactive",124],{"$fd1rF_s9_NSxWDfkZUucJRlM050fkoKuH4oo8tqZoVYQ":-1},true,"/quizzes/vue-component-options-exposed",["Reactive",128],{"user":129},{"user":130},["EmptyRef",131],"_"]