timeline.vue
550 Bytes
<template>
<ul :class="classes">
<slot></slot>
</ul>
</template>
<script>
const prefixCls = 'ivu-timeline';
export default {
props: {
pending: {
type: Boolean,
default: false
}
},
computed: {
classes () {
return [
`${prefixCls}`,
{
[`${prefixCls}-pending`]: this.pending
}
];
}
}
};
</script>