Skip to content

Add interface SVGFEDropShadowElement #667

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

Merged
merged 4 commits into from
Apr 3, 2019
Merged
Show file tree
Hide file tree
Changes from 2 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
18 changes: 18 additions & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12905,6 +12905,24 @@ declare var SVGFEDistantLightElement: {
new(): SVGFEDistantLightElement;
};

interface SVGFEDropShadowElement extends SVGElement {
readonly dx: SVGAnimatedNumber;
readonly dy: SVGAnimatedNumber;
readonly in1: SVGAnimatedString;
readonly stdDeviationX: SVGAnimatedNumber;
readonly stdDeviationY: SVGAnimatedNumber;
setStdDeviation(stdDeviationX: number, stdDeviationY: number): void;
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDropShadowElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEDropShadowElement, ev: SVGElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
}

declare var SVGFEDropShadowElement: {
prototype: SVGFEDropShadowElement;
new(): SVGFEDropShadowElement;
};

/** The SVGFEFloodElement interface corresponds to the <feFlood> element. */
interface SVGFEFloodElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
addEventListener<K extends keyof SVGElementEventMap>(type: K, listener: (this: SVGFEFloodElement, ev: SVGElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
Expand Down
44 changes: 44 additions & 0 deletions inputfiles/addedTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,50 @@
},
"interfaces": {
"interface": {
"SVGFEDropShadowElement": {
"name": "SVGFEDropShadowElement",
"exposed": "Window",
"properties": {
"property": {
"in1": {
"name": "in1",
"read-only": 1,
"override-type": "SVGAnimatedString"
},
"dx": {
"name": "dx",
"read-only": 1,
"override-type": "SVGAnimatedNumber"
},
"dy": {
"name": "dy",
"read-only": 1,
"override-type": "SVGAnimatedNumber"
},
"stdDeviationX": {
"name": "stdDeviationX",
"read-only": 1,
"override-type": "SVGAnimatedNumber"
},
"stdDeviationY": {
"name": "stdDeviationY",
"read-only": 1,
"override-type": "SVGAnimatedNumber"
}
}
},
"methods": {
"method": {
"setStdDeviation": {
"name": "setStdDeviation",
"override-signatures": [
"setStdDeviation(stdDeviationX: number, stdDeviationY: number): void"
]
}
}
},
"extends": "SVGElement"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"implements": ["SVGFilterPrimitiveStandardAttributes"]

is also needed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, just did it and pushed the new commit!

},
"AbortSignal": {
"events": {
"event": [
Expand Down