You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by su...@apache.org on 2019/01/12 17:44:29 UTC

[incubator-echarts] 02/02: Tweak

This is an automated email from the ASF dual-hosted git repository.

sushuang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-echarts.git

commit e0393f2c0978b9e187eafac77ff70b05c4ddfba4
Author: sushuang <su...@gmail.com>
AuthorDate: Sun Jan 13 01:44:04 2019 +0800

    Tweak
---
 src/util/graphic.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/src/util/graphic.js b/src/util/graphic.js
index f5d59dd..7581f6a 100644
--- a/src/util/graphic.js
+++ b/src/util/graphic.js
@@ -516,6 +516,14 @@ export function setHoverStyle(el, hoverStyle) {
  *               for example, when this method is called when `el` is
  *               on "emphasis" state.
  *        @param {string} toState Can be "normal" or "emphasis".
+ *
+ *        FIXME
+ *        CAUTION: Do not expose `highDownOnUpdate` outside echarts.
+ *        Because it is not a complete solution. The update
+ *        listener should not have been mount in element,
+ *        and the normal/emphasis state should not have
+ *        mantained on elements.
+ *
  * @param {boolean} [el.highDownSilentOnTouch=false]
  *        In touch device, mouseover event will be trigger on touchstart event
  *        (see module:zrender/dom/HandlerProxy). By this mechanism, we can


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org