feat(NoticeBar): add replay event (#6079)
This commit is contained in:
@@ -72,6 +72,7 @@ export default createComponent({
|
||||
this.$nextTick(() => {
|
||||
this.duration = (this.offsetWidth + this.wrapWidth) / this.speed;
|
||||
this.animationClass = bem('play--infinite');
|
||||
this.$emit('replay');
|
||||
});
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user