UNPKG

iview

Version:

A high quality UI components Library with Vue.js

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