1
/
of
1
Vue MultiSelect Component
Vue MultiSelect Component
First I'll show you how, then we'll get into why you'd want to hide slots Every Vue component has a special $slots object with all of your slots in it The
The answer is to tell VueFormulate you have a slotProp You do this when you register your slot component, and Vue Formulate will take care of passing the
vue default slot We'll start with a blank renderless component that passes no slot props: * Well if you've dug into Vue deep enough, you might know
vue check if slot has content Just for the record: useSlots() returns an object where the keys are the names of the slots The unnamed slot has the default key
Regular
price
134.00 ₹ INR
Regular
price
134.00 ₹ INR
Sale
price
134.00 ₹ INR
Unit price
/
per
Share
![vue check if slot is empty](10073.jpg)