javascript - How to remove mouseEnter event?
淡淡烟草味
淡淡烟草味 2017-06-14 10:53:28
0
2
882

Element-ui is used in the vue project. There is an overflow-tooltip attribute in the table component and a default mouseEnter event. What should I do if I want to remove it? Writing a new mouseEnter event to prevent bubbling is useless

淡淡烟草味
淡淡烟草味

reply all(2)
漂亮男人

Reassign the method called by the mouseEnter event of the table default component, which solves the problem in disguise. . Conclusion

代言

You can also use addeventlisner removeeventlisner in js to add and remove event binding

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template