Skip to content

cssTransform

cssTransform(element, value): void

Defined in: core/dom/styles.ts:28

Sets the transform of an element, with the -webkit- prefixed property as well.

HTMLElement

Element to style.

string

The transform, e.g. 'translateX(-100px)'.

void