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

Method remove

src/common/commontypes/Events.js:342–346  ·  view source on GitHub ↗

* @function Events.prototype.remove * @description 删除某个事件类型的所有监听,如果该事件类型没有注册,则不做任何操作。 * @param {string} type - 事件类型。

(type)

Source from the content-addressed store, hash-verified

340 * @param {string} type - 事件类型。
341 */
342 remove(type) {
343 if (this.listeners[type] != null) {
344 this.listeners[type] = [];
345 }
346 }
347
348 /**
349 * @function Events.prototype.triggerEvent

Callers 15

crFunction · 0.45
jquery.jsFile · 0.45
clearLayersMethod · 0.45
queryModeltOnchangeFunction · 0.45
themeModelSelectOnchangeFunction · 0.45
clearLayersMethod · 0.45
_initViewFunction · 0.45
_linkageFeatureFunction · 0.45
_featureOnclickEventFunction · 0.45
_setSelectedLayerStyleFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected