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.
45 lines
965 B
45 lines
965 B
import Vue from '../../utils/vue'
|
|
import { mergeData } from 'vue-functional-data-merge'
|
|
import { BLink, propsFactory as linkPropsFactory } from '../link/link'
|
|
|
|
export const props = linkPropsFactory()
|
|
|
|
// @vue/component
|
|
export const BNavItem = /*#__PURE__*/ Vue.extend({
|
|
name: 'BNavItem',
|
|
functional: true,
|
|
props: {
|
|
...props,
|
|
linkAttrs: {
|
|
type: Object,
|
|
default: () => {}
|
|
},
|
|
linkClasses: {
|
|
type: [String, Object, Array],
|
|
default: null
|
|
}
|
|
},
|
|
render(h, { props, data, listeners, children }) {
|
|
// We transfer the listeners to the link
|
|
delete data.on
|
|
return h(
|
|
'li',
|
|
mergeData(data, {
|
|
staticClass: 'nav-item'
|
|
}),
|
|
[
|
|
h(
|
|
BLink,
|
|
{
|
|
staticClass: 'nav-link',
|
|
class: props.linkClasses,
|
|
attrs: props.linkAttrs,
|
|
props,
|
|
on: listeners
|
|
},
|
|
children
|
|
)
|
|
]
|
|
)
|
|
}
|
|
})
|
|
|