Merge branch 'master' of https://github.com/primefaces/primevue
commit
5777f1c52c
|
@ -100,10 +100,10 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onMessageClick(event) {
|
onMessageClick(event) {
|
||||||
this.props.onClick && this.props.onClick({ originalEvent: event, message: this.message });
|
this.props?.onClick && this.props.onClick({ originalEvent: event, message: this.message });
|
||||||
},
|
},
|
||||||
onMouseEnter(event) {
|
onMouseEnter(event) {
|
||||||
this.props.onMouseEnter && this.props.onMouseEnter({ originalEvent: event, message: this.message });
|
this.props?.onMouseEnter && this.props.onMouseEnter({ originalEvent: event, message: this.message });
|
||||||
|
|
||||||
if (event.defaultPrevented) {
|
if (event.defaultPrevented) {
|
||||||
return;
|
return;
|
||||||
|
@ -116,7 +116,7 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onMouseLeave(event) {
|
onMouseLeave(event) {
|
||||||
this.props.onMouseLeave && this.props.onMouseLeave({ originalEvent: event, message: this.message });
|
this.props?.onMouseLeave && this.props.onMouseLeave({ originalEvent: event, message: this.message });
|
||||||
|
|
||||||
if (event.defaultPrevented) {
|
if (event.defaultPrevented) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue