vue pass prop to slot
Item slot-numbers - MMO-Champion
When using ion-item in the header slot, the ion-item's button prop is set to true and the detail prop is set to false. In addition, we will also automatically add a toggle icon to the ion-item.
Vue.js 3 Component Slots Tutorial | KoderHQ
In Vue you can pass strings, arrays, numbers, and objects as props. ... Scoped slots are often the right answer here, but let's first cover why we don't pass functions in Vue.
[Feature Request] v-data-table item link · Issue #3816
Now to the rows, you just have to loop through the array of items that you pass into your v-data-table items prop. Those items will be exposed in the body slot and can be accessed as follows ...
Passing though/inheriting slots · vuejs · Discussion #9621
Each component in Vue can have its own set of data and methods, which you can pass down to its child components with props.