比方說,您有一個包含大量內容的工具提示,因此您需要將其滾動。當然,你不能移動鼠標來滾動工具提示,因爲當你用你的瀏覽器離開時,工具提示會隱藏起來。 <!-- Let's assume this is my tooltip and -->
<div id="scrollableTooltip">
<p>foo bar foo bar foo bar foo bar foo bar foo
我在IE11的angularEvent 4中遇到mouseEvent問題。我正在使用角4,角-cli。 當我激活這行代碼: let newEvent = new MouseEvent('mouseleave', {bubbles: true});
IE在控制檯拋出這樣的例外: TypeError: Object does not support this operation.
at