Docstrings: Add event type DomEvent.stop (#5733)
This commit is contained in:
parent
cbb89c1300
commit
819f1722af
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user