Get to know MDN better
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
The SVGFilterElement interface provides access to the properties of <filter> elements, as well as methods to manipulate them.
EventTarget Node Element SVGElement SVGFilterElementAn SVGAnimatedString that corresponds to the href or xlink:href attribute of the given <filter> element.
SVGFilterElement.filterUnits Read onlyAn SVGAnimatedEnumeration that corresponds to the filterUnits attribute of the given <filter> element. Takes one of the constants defined in SVGUnitTypes.
SVGFilterElement.primitiveUnits Read onlyAn SVGAnimatedEnumeration that corresponds to the primitiveUnits attribute of the given <filter> element. Takes one of the constants defined in SVGUnitTypes.
SVGFilterElement.x Read onlyAn SVGAnimatedLength that corresponds to the x attribute on the given <filter> element.
SVGFilterElement.y Read onlyAn SVGAnimatedLength that corresponds to the y attribute of the given <filter> element.
SVGFilterElement.width Read onlyAn SVGAnimatedLength that corresponds to the width attribute of the given <filter> element.
SVGFilterElement.height Read onlyAn SVGAnimatedLength that corresponds to the height attribute of the given <filter> element.
| Filter Effects Module Level 1 # InterfaceSVGFilterElement |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Dec 19, 2023 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.