MCPcopy Create free account
hub / github.com/SuperMap/iClient-JavaScript / isSilent

Method isSilent

src/common/overlay/levelRenderer/Shape.js:800–808  ·  view source on GitHub ↗

* @function LevelRenderer.Shape.prototype.isSilent * @description 图形是否会触发事件,通过 bind 绑定的事件

()

Source from the content-addressed store, hash-verified

798 * @description 图形是否会触发事件,通过 bind 绑定的事件
799 */
800 isSilent() {
801 return !(
802 this.hoverable || this.draggable || this.clickable
803 || this.onmousemove || this.onmouseover || this.onmouseout
804 || this.onmousedown || this.onmouseup || this.onclick
805 || this.ondragenter || this.ondragover || this.ondragleave
806 || this.ondrop
807 );
808 }
809
810
811 /**

Callers 2

ShapeSpec.jsFile · 0.80
findHoverMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected