StackGenVis: Alignment of Data, Algorithms, and Models for Stacking Ensemble Learning Using Performance Metrics https://doi.org/10.1109/TVCG.2020.3030352
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
StackGenVis/frontend/node_modules/bootstrap-vue/src/mixins/normalize-slot.js

19 lines
741 B

import { hasNormalizedSlot, normalizeSlot } from '../utils/normalize-slot'
import { concat } from '../utils/array'
export default {
methods: {
hasNormalizedSlot(names) {
// Returns true if the either a $scopedSlot or $slot exists with the specified name
// `names` can be a string name or an array of names
return hasNormalizedSlot(names, this.$scopedSlots, this.$slots)
},
normalizeSlot(names, scope = {}) {
// Returns an array of rendered VNodes if slot found.
// Returns undefined if not found.
// `names` can be a string name or an array of names
const vNodes = normalizeSlot(names, scope, this.$scopedSlots, this.$slots)
return vNodes ? concat(vNodes) : vNodes
}
}
}