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.
37 lines
793 B
37 lines
793 B
import Vue from '../../utils/vue'
|
|
import { mergeData } from 'vue-functional-data-merge'
|
|
|
|
// @vue/component
|
|
export const BDropdownText = /*#__PURE__*/ Vue.extend({
|
|
name: 'BDropdownText',
|
|
functional: true,
|
|
props: {
|
|
tag: {
|
|
type: String,
|
|
default: 'p'
|
|
},
|
|
variant: {
|
|
type: String,
|
|
default: null
|
|
}
|
|
},
|
|
render(h, { props, data, children }) {
|
|
const $attrs = data.attrs || {}
|
|
data.attrs = {}
|
|
return h('li', mergeData(data, { attrs: { role: 'presentation' } }), [
|
|
h(
|
|
props.tag,
|
|
{
|
|
staticClass: 'b-dropdown-text',
|
|
class: {
|
|
[`text-${props.variant}`]: props.variant
|
|
},
|
|
props,
|
|
attrs: $attrs,
|
|
ref: 'text'
|
|
},
|
|
children
|
|
)
|
|
])
|
|
}
|
|
})
|
|
|