Docstrings: Add event type DomEvent.stop (#5733)

This commit is contained in:
Andris Nolendorfs 2017-08-25 11:01:03 +03:00 committed by Iván Sánchez Ortega
parent cbb89c1300
commit 819f1722af

View File

@ -209,7 +209,7 @@ export function preventDefault(e) {
return this; return this;
} }
// @function stop(ev): this // @function stop(ev: DOMEvent): this
// Does `stopPropagation` and `preventDefault` at the same time. // Does `stopPropagation` and `preventDefault` at the same time.
export function stop(e) { export function stop(e) {
preventDefault(e); preventDefault(e);