MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / setHoverStyle

Function setHoverStyle

libs/echarts/echarts.simple.js:17370–17373  ·  view source on GitHub ↗

* Set hover style (namely "emphasis style") of element, * based on the current style of the given `el`. * * (1) * **CONSTRAINTS** for this method: * This method MUST be called after all of the normal styles having been adopted * to the `el`. * The input `hoverStyle` (that is, "emphasi

(el, hoverStyle)

Source from the content-addressed store, hash-verified

17368 * @param {Object|boolean} [hoverStyle] See `graphic.setElementHoverStyle`.
17369 */
17370function setHoverStyle(el, hoverStyle) {
17371 setAsHighDownDispatcher(el, true);
17372 traverseUpdate(el, setElementHoverStyle, hoverStyle);
17373}
17374
17375/**
17376 * @param {module:zrender/Element} el

Callers 2

echarts.simple.jsFile · 0.70
updateStyleFunction · 0.70

Calls 2

setAsHighDownDispatcherFunction · 0.70
traverseUpdateFunction · 0.70

Tested by

no test coverage detected