MDN self-hosted library · e01.org

SVGFEConvolveMatrixElement: edgeMode property

Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.

html
<feConvolveMatrix kernelMatrix="3 0 0 0 0 0 0 0 -4" id="el" edgeMode="wrap" />
js
const el = document.getElementById("el");
console.log(el.edgeMode.baseVal); // output: 2