translateSelf

fun translateSelf(tx: Double = definedExternally, ty: Double = definedExternally, tz: Double = definedExternally): DOMMatrix(source)

The translateSelf() method of the DOMMatrix interface is a mutable transformation method that modifies a matrix.

MDN Reference