Skip to content

Commit

Permalink
Add interface SVGFEDropShadowElement (#667)
Browse files Browse the repository at this point in the history
* Add SVGFEDropShadowElement interface.

* Generate baseline.

* Implement SVGFilterPrimitiveStandardAttributes in SVGFEDropShadowElement.
  • Loading branch information
Fabianopb authored and sandersn committed Apr 3, 2019
1 parent d073d50 commit 00449c6
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 0 deletions.
18 changes: 18 additions & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12950,6 +12950,24 @@ declare var SVGFEDistantLightElement: {
new(): SVGFEDistantLightElement;
};

interface SVGFEDropShadowElement extends SVGElement, SVGFilterPrimitiveStandardAttributes {
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;
};

/** 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
45 changes: 45 additions & 0 deletions inputfiles/addedTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,51 @@
},
"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",
"implements": ["SVGFilterPrimitiveStandardAttributes"]
},
"AbortSignal": {
"events": {
"event": [
Expand Down

0 comments on commit 00449c6

Please sign in to comment.