vuetify
Version:
Vue.js 2 Semantic Component Framework
22 lines (21 loc) • 502 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = rebuildFunctionalSlots;
/**
*
* @param {object} slots
* @param {function} h
* @returns {array}
*/
function rebuildFunctionalSlots(slots, h) {
var children = [];
for (var slot in slots) {
if (slots.hasOwnProperty(slot)) {
children.push(h('template', { slot: slot }, slots[slot]));
}
}
return children;
}
//# sourceMappingURL=rebuildFunctionalSlots.js.map