MCPcopy Create free account
hub / github.com/keepfool/vue-tutorials / off

Function off

06.Router/basic/js/vue.js:1283–1285  ·  view source on GitHub ↗

* Remove event listener shorthand. * * @param {Element} el * @param {String} event * @param {Function} cb

(el, event, cb)

Source from the content-addressed store, hash-verified

1281 */
1282
1283 function off(el, event, cb) {
1284 el.removeEventListener(event, cb);
1285 }
1286
1287 /**
1288 * For IE9 compat: when both class and :class are present

Callers 1

vue.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected