1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| 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);
| }
| };
|
|