Skip to content

Update to WHATWG DOM Living Standard for Events #284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ interface ErrorEventInit extends EventInit {
}

interface EventInit {
scoped?: boolean;
composed?: boolean;
bubbles?: boolean;
cancelable?: boolean;
}
Expand Down Expand Up @@ -3662,12 +3662,12 @@ interface Event {
readonly target: EventTarget;
readonly timeStamp: number;
readonly type: string;
readonly scoped: boolean;
readonly composed: boolean;
initEvent(eventTypeArg: string, canBubbleArg: boolean, cancelableArg: boolean): void;
preventDefault(): void;
stopImmediatePropagation(): void;
stopPropagation(): void;
deepPath(): EventTarget[];
composedPath(): EventTarget[];
readonly AT_TARGET: number;
readonly BUBBLING_PHASE: number;
readonly CAPTURING_PHASE: number;
Expand Down
6 changes: 3 additions & 3 deletions baselines/webworker.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ interface CloseEventInit extends EventInit {
}

interface EventInit {
scoped?: boolean;
composed?: boolean;
bubbles?: boolean;
cancelable?: boolean;
}
Expand Down Expand Up @@ -383,12 +383,12 @@ interface Event {
readonly target: EventTarget;
readonly timeStamp: number;
readonly type: string;
readonly scoped: boolean;
readonly composed: boolean;
initEvent(eventTypeArg: string, canBubbleArg: boolean, cancelableArg: boolean): void;
preventDefault(): void;
stopImmediatePropagation(): void;
stopPropagation(): void;
deepPath(): EventTarget[];
composedPath(): EventTarget[];
readonly AT_TARGET: number;
readonly BUBBLING_PHASE: number;
readonly CAPTURING_PHASE: number;
Expand Down
8 changes: 4 additions & 4 deletions inputfiles/addedTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -1509,21 +1509,21 @@
{
"kind": "property",
"interface": "EventInit",
"name": "scoped?",
"name": "composed?",
"type": "boolean"
},
{
"kind": "property",
"interface": "Event",
"name": "scoped",
"name": "composed",
"type": "boolean",
"readonly": true
},
{
"kind": "method",
"interface": "Event",
"name": "deepPath",
"signatures": ["deepPath(): EventTarget[]"]
"name": "composedPath",
"signatures": ["composedPath(): EventTarget[]"]
},
{
"kind": "interface",
Expand Down