UNPKG

view-ui-plus

Version:

A high quality UI components Library with Vue.js 3

18 lines (16 loc) 388 B
import { h } from 'vue'; export default { name: 'SliderMarker', props: { mark: { type: [String, Object] } }, render () { let label = typeof this.mark === 'string' ? this.mark : [this.mark.label]; return h('div', { class: 'ivu-slider-marks-item', style: this.mark.style || {} }, label); } };